It worked out.. Thank you!
Laurie Harper wrote: > > styl9090 wrote: >> 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}"> > > Assuming the action attribute is evaluated, it would be %{#session > (notice the '#'). > > L. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/dynamic-action-in-form-tp20001478p20039684.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]