struts-user mailing list archives

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

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.

View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message