title: issue in JSP:forward on button Click()(when target jsp is under web-inf folder)
body: <p>I have Two Jsp:
  <strong>1. index.jsp
  2. createAccount.jsp</strong> <strong>(Under WEB-INF folder)</strong></p>
  
  <p>Index.jsp should show createAccount button.When i click createAccount Button jsp should be forwarded to createAccount.jsp.</p>
  
  <p><strong>Current Issue:</strong> When I deploy the code on Tomcat While accessing index.jsp It automatically forwards to createAccount.jsp without showing the createAccount button.</p>
  
  <p><strong>index.jsp</strong></p>
  
  <pre><code>&lt;%@ page language="java" contentType="text/html; charset=ISO-8859-1"
  
  pageEncoding="ISO-8859-1"%&gt;
  
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt;
  &lt;html&gt;
    &lt;head&gt;&lt;title&gt;Vendor Account&lt;/title&gt;&lt;/head&gt;
    &lt;body&gt;
    &lt;input type="button" value="Create Vendor Account" 
    onclick='&lt;jsp:forward page="WEB-INF/jsp/createAccount.jsp"&gt;&lt;/jsp:forward&gt;'&gt;
  
  
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><strong>createAccount.jsp</strong></p>
  
  <pre><code>&lt;%@ page language="java" contentType="text/html; charset=ISO-8859-1"
      pageEncoding="ISO-8859-1"%&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"&gt;
  &lt;title&gt;Vendor Account Creation Form&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  This is a Vendor Creation Form.
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Actual Output: http://:8081/VendorPortal/index.jsp
  This is a Vendor Creation Form.</p>
  
  <p>Expected output :</p>
  
  <p>Create Vendor Account button should be displayed.</p>
  
  <p><strong>Please let me know how to Implement the above scenario.</strong></p>