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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "unable to load jsp page" Watch "unable to load jsp page" New topic
Author

unable to load jsp page

Ashwin Sharma
Greenhorn

Joined: Nov 03, 2006
Posts: 28
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

Joined: Dec 11, 2004
Posts: 13410

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.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Ashwin Sharma
Greenhorn

Joined: Nov 03, 2006
Posts: 28
thanks :thumb: its working now
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: unable to load jsp page
 
Similar Threads
@ include .....
tag files in eclipse
JSP and Path related Question
jsp:include -> page attribute.
path related problem