Java Mailing List Archive

http://www.gg3721.com/

Home » Struts Users Mailing List »

dynamic action in form

styl9090

2008-10-15

Replies: Find Java Web Hosting

Author LoginPost Reply

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