Where do the JSP files come from
843842Oct 25 2005 — edited Oct 26 2005Hi,
I am very new to JavaServer Faces and have recently been looking into using this technology for a fairly small project, mainly to become familiar with it. What i'm trying to figure out is when I type a url like http://server:8080/myapp/faces/blah.jsp, where does the controller servlet look for a match? Does it always just look in the root of the web application? (as all the example seem to do). If so, you seem to have to add every jsp page into a security-constraint in web.xml to stop them from being accessed directly!
On a related note, when trying out the "Command Submissions Sample Application" from java BluePrints i noticed that i could browse the contents of the WEB-INF folder (usually restricted as I understand it) and access the web.xml of the application simply by going http://server:8080/command_submissions/faces/WEB-INF/web.xml. How can I stop this from being possible?
Other than these couple of things I'm really looking forward to using JSF.
Thanks in advance,
Robert.