Announcement Announcement Module
Collapse
No announcement yet.
Submitting Forms Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Submitting Forms

    Hi,
    I have a form that contains a submit button.
    I created the Form Controller class and I've overidden the onSubmit method in it.
    In the jsp page of the form should I add any code to the onsubmit method of the form or does it automatically excute the onSubmit method that is in the controller.
    i.e:
    Is the following code enough to submit the form?
    <form method="post" action="<c:url value="/editInvoice.html"/>">

    Thanks in Advance.
    Sherihan.

  • #2
    No - it will be executed automaticaly.
    Only what you need to be "editInvoice.html" mapped to the controller (in WEB-INF/*.xml files)

    Comment


    • #3
      Thanks a lot.
      Sherihan.

      Comment

      Working...
      X