M
mark sullivan via JavaKB.com
Hi,
I'm using tomcat 5 with the jsp 2.0 specification and having an extreme
problem using redirects. An example would be like this:
<form action="itself" method="post">
//print some html
<%
if{//some condition satisfied}
//Access granted and redirect to new page
//This, the if statement does success
response.sendRedirect("new.jsp");
}
%>
</form>
Unfortunately this does not some to work, it redirects to itself. Does
anyone know does an issue arise for tomcat 5.0 using redirects? I had the
application running under tomcat 4.1 but needed to move to 5.0 to use tiles.
Mark.
I'm using tomcat 5 with the jsp 2.0 specification and having an extreme
problem using redirects. An example would be like this:
<form action="itself" method="post">
//print some html
<%
if{//some condition satisfied}
//Access granted and redirect to new page
//This, the if statement does success
response.sendRedirect("new.jsp");
}
%>
</form>
Unfortunately this does not some to work, it redirects to itself. Does
anyone know does an issue arise for tomcat 5.0 using redirects? I had the
application running under tomcat 4.1 but needed to move to 5.0 to use tiles.
Mark.