aspose file tools*
The moose likes Servlets and the fly likes servlet dispatching to another web app Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet dispatching to another web app" Watch "servlet dispatching to another web app" New topic
Author

servlet dispatching to another web app

heiner weilandt
Ranch Hand

Joined: Sep 10, 2002
Posts: 46
hi,
i want to forward a request to a Default-JSP which is not in my web app.
with a RequestDispatcher it doesn't find the JSP. is the JSP in my web app, it works fine.
why can't i dispatch to a JSP, which is not implemented in my webapp. have i a chance for forwarding to such a JSP without a HTML-redirect ?

thanks a lot for help !
Anthony Villanueva
Ranch Hand

Joined: Mar 22, 2002
Posts: 1055
If you are using Tomcat4, you have to set the crossContext attribute to true. Please see this thread.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: servlet dispatching to another web app