<action path="..." 
                type="..."
                name="..."
                scope="request"
                validate="false"
                parameter="{parameter}">
        <forward name="success" path="..." redirect="false" />
</action>

Use the parameter="{parameter}", you can then pick this up in the action
using:

String parameter = mapping.getParameter();

Cheers

Christopher Marsh-Bourdon
www.marsh-bourdon.com

-----Original Message-----
From: Rodolfo García Esteban/CYII [mailto:[EMAIL PROTECTED] 
Sent: 12 May 2005 10:37
To: user@struts.apache.org
Subject: is it posible to pass a parameter to an action in configuration
time?


Hi,

I need to pass an url to an action for do some validations, this action is a 
parameter of application's configuration, the user mustn't modify it and it has 
the same value all the time. I don't know the best way to do this.

Thanks 
________________________
Rodolfo 
_______________________




--------------------------------------------------------------------------------
The information contained herein is confidential and is intended solely for the
addressee. Access by any other party is unauthorised without the express 
written permission of the sender. If you are not the intended recipient, please 
contact the sender either via the company switchboard on +44 (0)20 7623 8000, or
via e-mail return. If you have received this e-mail in error or wish to read our
e-mail disclaimer statement and monitoring policy, please refer to 
http://www.drkw.com/disc/email/ or contact the sender. 3166
--------------------------------------------------------------------------------


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

Reply via email to