This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Servlets and the fly likes servlet dispatching to another web app Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply 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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: servlet dispatching to another web app
 
Similar Threads
log4j configuration
problem with stability of Tomcat as our application server
What is a session
Confusion about session destruction
URL-PATTERN Confusion