I have a jsp with a submit based on the html:form action.
<html:form action="/nextPath">
I want to set the action based on a variable, or current path.. etc
<d:isActionPath path="/path1" >
<html:form action="/nextPath1">
</d:isActionPath>
<d:isActionPath path="/path2" >
<html:form action="/nextPath2">
</d:isActionPath>
This does not work. But this is essentially want I want to do.
Any suggestions? Very new to struts.
JSP tags must be balanced correctly, as in a XML document. You can’t open a tag
d:isActionPath, open a taghtml:formand close thed:isActionPathtag without having closed thehtml:formtag.