title: portlet:renderURL not working
body: <p>I am working on liferay 6 Portlet development.
  I am new to it.
  I need to keep a Hyperlink to another jsp this way as shown.</p>
  
  <pre><code>&lt;a href="&lt;portlet:renderURL&gt;
      &lt;portlet:param name="jspPage" value="/WEB-INF/view/page2.jsp" /&gt;
      &lt;/portlet:renderURL&gt;"&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>I have another JSP called page2.jsp , but this isn't working (Means when i click on the hyper link , it aain displays the First JSP only </p>
  
  <p>But this isn't working </p>
  
  <p><strong>This is my page1.jsp</strong> </p>
  
  <pre><code>&lt;%@ taglib prefix="s" uri="/struts-tags" %&gt;
  
  &lt;s:form action="helloForm" method="POST" theme="simple"&gt;
      Enter Your Name:&lt;s:textfield name="namer" value="%{name}" required="true"/&gt;
      &lt;s:submit/&gt;
  &lt;/s:form&gt;
  
  
  &lt;a href="&lt;portlet:renderURL&gt;
  &lt;portlet:param name="jspPage" value="/WEB-INF/view/page2.jsp" /&gt;
  &lt;/portlet:renderURL&gt;"&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>=========</p>
  
  <p><strong>This is pag2.jsp</strong> </p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;h1&gt;Hi &lt;/h1&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>