Re: Redirecting the browser to another page
"V. Jagadesh Lee" <[email protected]>
| Newsgroups | gmane.comp.java.sun.servlet |
|---|---|
| Message-ID | <[email protected]> |
<%@ taglib uri="http://jakarta.apache.org/taglibs/response-1.0"
prefix="response" %>
<%@ page buffer="64k"%>
<H1> hello How are you?</H1>
<%
//some condition evaluation
response.reset();
out.close();
//response.sendRedirect("jsp2.jsp"); sorry abt this line in my last
mail.
%>
<response:sendRedirect>
<response:encodeRedirectUrl>"jsp2.jsp"</response:encodeRedirectUrl>
</response:sendRedirect>
best wishes
Lee