struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hubert Rabago <jakartau...@yahoo.com>
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 <exnihilo@myrealbox.com> 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: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message