fea jabi wrote:
Want to submit the form when user clicks on a link before entering Action class.

How to do this?

Thanks.
If I understand you right, you could use JavaScript:

<script type="text/javascript">
 function onClickLink()
 {
   document.myForm.submit();
 }
</script>

<html:form action="/myAction"> <%-- Associated with myForm --%>
 <%-- ... --%>
</html:form>

<html:link action="/myOtherAction" onclick="onClickLink()">Link</html:link>

HTH,
 Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to