I think both parameters and the location can be expressions which you can expose as properties on your action.

Nils-H

Den 25. nov.. 2008 kl. 17.53 skrev Milan Milanovic <[EMAIL PROTECTED] >:


I think that is not possible. I'll solve it with multiple results for this
action.

--
Milan


Milan Milanovic wrote:

Hi,

I have defined following action in struts.xml:

<action name="showReport" method="showReport" class="ReportAction">
             <result name="success" type="jasper">
               /reports/MonthReport.jasper
               parameters
               connection
               PDF
           </result>
</action>

I'm wondering is it possible to change location param from my showReport()
method before returning SUCCESS ? I need this because I want to
dynamically select which report should be shown ?

--
Thx, Milan


--
View this message in context: 
http://www.nabble.com/-S2--Programatically-change-result-param-tp20682802p20685195.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


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

Reply via email to