This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C220DB.6579E850
Content-Type: text/plain;
charset=iso-8859-1
Content-Transfer-Encoding: 7bit
You have 2 methods for use redirect URL.
I.Use JSP tag : <jsp:forward> and send parameter with <jsp:param> tag
II.Use script : response.sendRedirect("destination_url.jsp?parameter_1=" value_1+"¶meter_2="+ value_2);
-----------------------------------------------------------------------
Surat Jewpajaroen
-----Original Message-----
From: Laeremans Bart [mailto:Bart.Laeremans@c...]
Sent: Monday, July 01, 2002 3:36 PM
To: Pro_JavaServer_Pages
Subject: [pro_jsp] RE: jsp redirect
You may want to use the RequestDispatcher-class,
this class has a forward method which will send the request to the next page.
You could also use the <jsp:forward ... /> tag.
Greetz,
Bart
-----Original Message-----
From: Massimo LoVoi [mailto:maslv@q...]
Sent: vrijdag 28 juni 2002 18:40
To: Pro_JavaServer_Pages
Subject: [pro_jsp] jsp redirect
Hi
Is there a way to redirect a jsp page to another jsp carrying over all the variables and their values from the first page to the
second?
I cannot use something like the following
<%
response.setStatus(response.SC_MOVED_TEMPORARILY);
response.setHeader("Location","page2.jsp?field1=value1&field2=value2");
%>
because my querystring is very big, and it will be truncated.
Thanks
Massimo
--- Change your mail options at http://p2p.wrox.com/manager.asp or
--- Change your mail options at http://p2p.wrox.com/manager.asp or