You can add a parameter attribute under your action in the struts-config file and 
retrieve it in the perform method of that action.

String parameter = mapping.getParameter();

"Marcelo Caldas" <[EMAIL PROTECTED]> wrote:

>Hi,
>I was wandering if there's a way to declare a init-param for an action in the same 
>way that we declare for servlets...
>
>I know that I can declare this init-param for my ActionServlet, but then the 
>parameter is available for all the actions that I'm creating, while all I want is to 
>have it on one action only.
>
>any suggestions?
>
>Regards,
>Marcelo.
>
-- 




__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the 
convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/


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

Reply via email to