title: How can I call the action method inside the MVCPortlet class onclick of the Submit button
body: <p>I am using Liferay 6 for development.</p>
  
  <p>I have added JQuery support to Liferay this way inside the file <code>liferay-portlet.xml</code> file </p>
  
  <pre><code>&lt;header-portlet-javascript&gt;https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js&lt;/header-portlet-javascript&gt;
           &lt;header-portlet-javascript&gt;https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.15/jquery-ui.min.js&lt;/header-portlet-javascript&gt;
  </code></pre>
  
  <p>Now I have a form with Username and password as shown below:</p>
  
  <pre><code>  &lt;form&gt;
      &lt;div&gt;
          &lt;input class="default-value" type="text" name="Name" value="Name" /&gt;
          &lt;input class="default-value" type="text" name="Password" value="Password" /&gt;
      &lt;/div&gt;
      &lt;/form&gt;
  
  &lt;div class="fieldgroup"&gt;
   &lt;input type="submit" value="Register" class="submit"&gt;
  &lt;/div&gt;
  
  &lt;liferay-portlet:actionURL name="registerUser" var="registerUserURL"&gt;&lt;/liferay-portlet:actionURL&gt;
  </code></pre>
  
  <p>I have a CustomPortlet as shown below , and added this inside the portlet.xml file as shown</p>
  
  <pre><code> &lt;portlet&gt;
      &lt;portlet-name&gt;Second&lt;/portlet-name&gt;
      &lt;display-name&gt;Second&lt;/display-name&gt;
      &lt;portlet-class&gt;com.SecondPort&lt;/portlet-class&gt;
  
  
  public class SecondPort extends MVCPortlet {
  
  public void registerUser(ActionRequest request, ActionResponse response) 
  {
  // Some code here with respect to the registerUser .
  }
  }
  </code></pre>
  
  <p>Now please tell me on click of the Submit Button on the JSP Page, how can I call this <code>registerUser</code> method??</p>
  
  <pre><code> &lt;input type="submit" value="Register" class="submit"&gt;
  </code></pre>
  
  <p>Please let me know, thanks in advance .</p>