thanks this is I was looking for ________________________ Rodolfo García Esteban Canal Isabel II División de Aplicaciones Técnicas C/ Santa Engracia, 125 Edificio 8 Tel. 91 545 10 00 - Ext. 2128 Fax. 91 545 14 41 _______________________
"Marsh-Bourdon, Christopher" <[EMAIL PROTECTED]> 12/05/2005 11:42 Por favor, responda a "Struts Users Mailing List" Para: 'Struts Users Mailing List' <user@struts.apache.org> cc: (cco: Rodolfo García Esteban/CYII) Asunto: RE: is it posible to pass a parameter to an action in configurati on time? <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]