Billy,
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);
response.setContentType("text/html");
ServletContext sc = getServletContext();
RequestDispatcher rd = 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 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 commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>