Meaningless Drivel is fun!*
The moose likes JSP and the fly likes Forward to JSP outside of war Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Forward to JSP outside of war" Watch "Forward to JSP outside of war" New topic
Author

Forward to JSP outside of war

Marshall B Thompson
Ranch Hand

Joined: Apr 11, 2002
Posts: 42
I have a servlet in a deployed .war file on Sun Java System Web Server 6.1. I have a JSP that is not deployed in any .war file. How do I forward from the servlet to the JSP. I can't figure out how to obtain a context to the jsp pages in the default webapp which are outside of a .war file.

I see that the jsp .class files are in /opt/sun/web/https-c3qweb1/ClassCache/https-c3qweb1/default-webapp where https-c3qweb1 is the name of our virtual server. There is not an explicit WEBAPP entry for the default webapp in server.xml.

Is it possible to obtain the context of these jsps which are outside of .war files?
Marshall B Thompson
Ranch Hand

Joined: Apr 11, 2002
Posts: 42
I got this to work by doing the following:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Forward to JSP outside of war