<logic:equal ... <bean:define id="action" ... ..
<html:form action="<%= action %>">
or
<c:choose> <c:when test="${myForm.prop}"> <c:set var="action" value="/foo.do" /> </c:when> <c:otherwise> <c:set var="action" value="/bar.do" /> </c:otherwise> </c:choose> <html-el:form action="${action}">
On 15 Jan 2004, at 14:08, Raman wrote:
I want to implement something like this:
Conditional checks: for form submission to different Actions
<logic:equal value="MP" name="userQuestionaireForm" property="filterConstant">
<html:form action="/UpdateUserQstMP">
</logic:equal>
<logic:notEqual value="MP" name="userQuestionaireForm" property="filterConstant">
<html:form action="/UpdateUserQst">
</logic:notEqual>
But this is giving me error [ServletException "Unterminated tag'" if i remove the logic tags it works fine.
Can anybody help me in this or give me some idea...
Thanks -- Raman
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]