M
Matt
I want to ask if <jsp:forward> tag cannot change the current URL? What
if I want the URL changed?
I hava a jsp page to forward to different pages based on conditions as
follows:
<%
if (cond1)
{
%>
<jsp:forward page="page1.jsp"/>
<% }
else if (cond2)
{
%>
<jsp:forward page="page2.jsp"/>
<% }
else
{
%>
<jsp:forward page="page3.jsp"/>
<% } %>
Any suggestions? Please advise. Thanks!!
if I want the URL changed?
I hava a jsp page to forward to different pages based on conditions as
follows:
<%
if (cond1)
{
%>
<jsp:forward page="page1.jsp"/>
<% }
else if (cond2)
{
%>
<jsp:forward page="page2.jsp"/>
<% }
else
{
%>
<jsp:forward page="page3.jsp"/>
<% } %>
Any suggestions? Please advise. Thanks!!