Hi All,

I need to configure a set of params related to the DB procedures to be 
invoked in struts app startup.

AFAIK, in Struts 1.1, the right way could be to create a plugin and pass the 
params as plugin parameters.

However we are using Struts 1.0.2. For this version, I figure out 2 ways:

- a init-Param for the ActionServlet could take the comma-separated set of 
params, e.g.:

<init-parameter>
        <name>startup</name>
        <value>PARAM1, PARAM2, PARAM3...</value>
</init-parameter>

- add a new tag to the struts-config file, which could be quite tricky.

Can any of you a simpler and/or cuter solution?

TIA,

Adolfo


_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to