You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ge...@fmo.com on 2003/12/19 18:30:56 UTC

Best practice for handling Action Init Parameters

What is the best practice in Struts for handling application parameters.
Do I put my parameter in the Action init parms and then pull the parameter 
in at every Action class I use?
Basically I have a JSP page with Java mail tags that requires a host name 
and I do not want to hard code the smtp host name into the JSP.

Thanks

JB