Not really Struts-related, but there's some smart folks here, so...
You can have a element under in web.xml, and
this is perfect for a task I have (I'm initializing some things in a
ServletContextListener that have to be initialized even before
ActionServlet initializes - see, it IS Struts-relat
Never mind, I found it...
// ServletContextEvent sce
sce.getServletContext().getInitParameter("myParam")
It was a little less than obvious because when you see a method
getInitParameter() of a SERVLET context, at least my interpretation is
that I am accessing the init params of a element (and in
2 matches
Mail list logo