Does anybody know the justification for preventing non-default init-params from being seen when using the default ActionServlet? It seems like a very easy solution to a very common need.
thanks,
n.
Hubert Rabago wrote:
Where do you need the values? There are a lot of options, including using servlet context variables and a simple Struts plugin.
--- exnihilo <[EMAIL PROTECTED]> wrote:
hi,
I have 2 init-params that I need to do pass into my struts app (that are only used in a listener that gets called upon webapp startup and shutdown). I did the obvious and included them in the web.xml, but it seems that the default ActionServlet does not pick up any other init-params than the ones it expects (if I read the javadocs correctly), and that I need to subclass ActionServlet if I want to use other init-params than the default ones.
Are there other options? It seems like overkill in this case, because the default ActionServlet is totally sufficient for my needs in all other regards. There is a probably a much better solution that I am not finding.
Any ideas or pointers to more info?
thanks,
n.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

