can some one please tell me how i coulod make a forward from a servlet to a
jsp i need to use the same url plus
i dont want in some cases the destination address apiasring on the address
bar
thanks in advance
Billy
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional
= sc.getRequestDispatcher(url);
rd.include(request, response);
Andy
-Original Message-
From: Billy V. Kantartzis [mailto:[EMAIL PROTECTED]]
Sent: 29 July 2002 13:59
To: Tomcat Users List
Subject: forwarding to a jsp using a servlet
can some one please tell me how i coulod make a forward
thanks i will try this
---Original Message---
From: Tomcat Users List
Date: 29 July 2002 14:46:04
To: Tomcat Users List
Subject: RE: forwarding to a jsp using a servlet
Billy,
Try this in your doGet / process method:
(I put my jsps under WEB-INF so they are not servable
= sc.getRequestDispatcher(url);
rd.include(request, response);
Andy
-Original Message-
From: Billy V. Kantartzis [mailto:[EMAIL PROTECTED]]
Sent: 29 July 2002 15:11
To: Tomcat Users List
Subject: RE: forwarding to a jsp using a servlet
thanks i will try this
---Original Message
From: Andy Eastham [EMAIL PROTECTED]
Sent: Monday, July 29, 2002 6:43 AM
Subject: RE: forwarding to a jsp using a servlet
Try this in your doGet / process method:
(I put my jsps under WEB-INF so they are not servable directly).
String url = FileUtil.makeJspUrl(/WEB_INF/jspDir/test.jsp