File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Unable to look jsp under WAR file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Unable to look jsp under WAR file" Watch "Unable to look jsp under WAR file" New topic
Author

Unable to look jsp under WAR file

Zip Ped
Ranch Hand

Joined: Jul 26, 2005
Posts: 336
Hi,

I am trying to look up a jsp inside my war file. The JSp is kept in the root of the application(not under WEB_INF), but everytime I try to access it I get an "page Cannot be displayed message".

I am not getting any kind of exceptions in my logs or console for tomcat. I tried to access the jsp-examples dir under webapps and it works.

Any suggestions?
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Where did you put your war file?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Zip Ped
Ranch Hand

Joined: Jul 26, 2005
Posts: 336
I have put it under [catalina_home]\webapps
Zip Ped
Ranch Hand

Joined: Jul 26, 2005
Posts: 336
I solved the problem. I think my web.xml was not configured properly.

Thanks for the help.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to look jsp under WAR file