On Tue, Apr 17, 2001 at 06:13:36PM +0200, Ga�l Oberson wrote:
> try this:
> request.getRequestDispatcher("/examples/web/test.jsp").include(request,
> response);

What if Apache gets the http request and forwards it with JkMount to tomcat, would 
this request.getRequestDispatcher("/file.html").include(request, response); send the 
request to apache or tomcat? How can I make it go to apache, if it's tomcat who gets 
this .html (which MUST not be served from tomcat)?

Hugs, rms

> -----Original Message-----
> From: Georges Boutros [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 17, 2001 10:11 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: include a file in a servlet
> hi,
> i wanna know how can i include a jsp or html file in a servlet
> thanks
> Georges
> ********************************************************************
> hi again,
> the error i get seems like the file is not found
> 
> here's how i do it:
> request.getRequestDispatcher("/examples/jsp/web/test.jsp").include(request,
> response);
> 
> my jsp files are under /webapps/examples/jsp/web/
> 
> thanks again

-- 
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Ghandi
+ So let's do it...?

Reply via email to