title: Linking two jsp pages with Submit Button Liferay
body: <p>I have a form where I allow user to select some data and submit the form and based on that selection data will be displayed in another jsp.</p>
  
  <p>I have used the following code in first jsp:</p>
  
  <pre><code>    &lt;aui:form name="updateDailyAttendance" action = "&lt;%=request.getContextPath()%&gt; /admin/test.jsp"  method="post" &gt;
          &lt;input type = "date" name = "myDate"/&gt;
          &lt;input type = "submit" name = "Submit"/&gt;
      &lt;/aui:form&gt;
  </code></pre>
  
  <p>test.jsp is the second JSP. But the code above isn't working. How should I mention the second jsp name in the  "action" above so that the above jsp takes me to second jsp. I am using lIferay</p>