I'm developing a little servlet with eclipse on a Tomcat server.
From this servlet I want to include some jsp files, it works perfectly for the file
WEB-INF/website/NewFile.jsp
But when I try to get a jsp file in
/WEB-INF/website/common
I get the 404 not found exception.
I've some other files in the "common" folder and I can get access to them.
So I guess that eclipse doesn't find the jsp in this folder when it comes to compile them.
I suppose that I have to somehow change the "jsp searching path" of the eclipse project but I don't know how to do
You cannot access files under WEB-INF folder directly.Container will look for classes in WEB-INF/classes and jsp files under WEB-INF can be included by other JSP/servlets,but any browser requesting resources down there will get a 404 response