struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hubert Rabago <>
Subject Re: non-default init-params and default ActionServlet
Date Fri, 20 Feb 2004 23:29:17 GMT
Where do you need the values?  There are a lot of options, including using
servlet context variables and a simple Struts plugin.

--- exnihilo <> 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:
> For additional commands, e-mail:

Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message