struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From styl9090 <styl9...@gmail.com>
Subject dynamic action in form
Date Wed, 15 Oct 2008 20:18:25 GMT

Hi,
I am using struts 2 in my current project.
How can I write the action dynamically in my JSP form tag?
Here is the example: This case, I have my form action is in session.
<s:form name="sampleForm" action="????">

I have tried using below, which didn't work:
<s:form name="openForm" action="%{session.action_name}">

Any help is greatly appreciated.

Thanks,
Shekar.
-- 
View this message in context: http://www.nabble.com/dynamic-action-in-form-tp20001478p20001478.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message