Java Mailing List Archive

http://www.gg3721.com/

Home » Struts Users Mailing List »

[S2] Programatically change result param

Milan Milanovic

2008-11-25

Replies: Find Java Web Hosting

Author LoginPost Reply

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
--
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 gg3721.com - Jax Systems, LLC, U.S.A.