File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to look jsp under WAR file

 
Zip Ped
Ranch Hand
Posts: 336
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where did you put your war file?
 
Zip Ped
Ranch Hand
Posts: 336
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have put it under [catalina_home]\webapps
 
Zip Ped
Ranch Hand
Posts: 336
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I solved the problem. I think my web.xml was not configured properly.

Thanks for the help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic