Java Mailing List Archive

http://www.gg3721.com/

Home » Struts Users Mailing List »

Convention Plugin - dynamically setting the result

Roger Varley

2010-04-08

Replies: Find Java Web Hosting

Author LoginPost Reply

Hi

I'm trying to develop an action mapper type of action. The action analyses
the incoming parameters and based on those I want to dynamically select the
action to handle the next step. So what I'm trying to do is to set a string
field called location with the string name of the action and using the
annotation
@Result(name="service", type="redirectAction",location="%{location}"). This
is not working - I get redirected to my application default startup page.

Before I go digging deeper, could someone confirm that it is possible to use
OGNL to set the location in the @Result annotation at run-time or must the
annotation be set at compile-time.

Regards
--
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.