With a response.sendRedirect and a URL absolute,
<%
response.sendRedirect("http://localhost/folder1/Page2.jsp");
%>
mundiv�a
Departamento de Programaci�n.
Jes�s Angel Fern�ndez D�ez de Ter�n
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Tfno.: 606044507
> -----Mensaje original-----
> De: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]En nombre de Tamanna Kher
> Enviado el: jueves 8 de junio de 2000 16:17
> Para: [EMAIL PROTECTED]
> Asunto: Problem in jsp:forward.......URGENT
>
>
> Can somebody please suggest a solution for the following scenario:
>
> 1. Client browser requests for a page Page1.jsp from Web server as
> http://localhost/folder1/Page1.jsp
>
> 2. Page1.jsp is in turn doing a forward to Page2.jsp lying in adifferent
> folder as :
> <jsp:forward page="../folder2/page2.jsp"/>
> 3. The output from Page2.jsp gets sent to the browser.
> 4. However, the location URL of browser still shows the old location as :
> http://localhost/folder1/Page1.jsp
> whereas the page that is currently loaded in browser is Page2.jsp from
> folder2.
>
> How do we make the location URL to point to the same place as the
> destination page (in this case, Page2.jsp)
> whenever a request forward is done internally ?
>
> ThankX in advance
> -Tamanna Kher
>
>
>
>
> _____________________________________________________________
>
> Visit http://www.PalmGreetings.com The first & only Mobile greeting site.
> * You can send & receive e-cards using your Palm Pilot
> * View animated cards on your Palm
> * Draw your very own cards
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Problem in jsp:forward.......URGENT
Jesus Angel Fernandez Diez de Teran Thu, 08 Jun 2000 09:31:44 -0700
- Problem in jsp:forward.......URGENT Tamanna Kher
- Re: Problem in jsp:forward.......... Geert Van Damme
- Re: Problem in jsp:forward...... Danny Trieu
- Re: Problem in jsp:forward.......... Jesus Angel Fernandez Diez de Teran
- Re: Problem in jsp:forward.......... Eswar Penmatsa
- Re: Problem in jsp:forward.......... Mark Franz
- Re: Problem in jsp:forward...... Kevin
- Escaping inputed data bef... Robert Nicholson
- Forward Path problem in Jrun3... Louis
- Re: Problem in jsp:forward.......... Mark Franz
- Re: Problem in jsp:forward.......... Attili Srinivas
- Re: Problem in jsp:forward...... Danny Trieu
- Re: Problem in jsp:forwar... Naggi Rao
- Re: Problem in jsp:fo... Danny Trieu
