This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
Consider Paul's rocket mass heater.
 
subject: Unable to look jsp under WAR file
 
Similar Threads
hot-deploy JSP on Jboss
Unable to access my application in Tomcat 6
Need to access Java methods and javascript functions in a WAR file from another WAR
Accessing data in .txt file from a servlet...
Websphere JSP deployment problem