• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

unable to load jsp page

 
Ashwin Sharma
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i am using a frame in my jsp page myFrame.jsp and i am trying to include header.html and body.jsp in this. My jsp directory is home/WEB-INF/jsp and html directory is home/html I am using tomcat. But when i try to display the page myFrame.jsp the body.jsp page is not included, header.html page is included though. But when i put body.jsp outside of WEB-INF it works.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The WEB-INF directory, by design is not open to the web.

You'll need to either move your JSPs out of that directory, create servlet entries & mappings for them, or forward to them from a controller or page that has been mapped.
 
Ashwin Sharma
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks :thumb: its working now
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic