Hello All, I'm new to JSF framework. One of the strange things I noticed about JSF is that while I try to access the JSP pages directly (with .jsp extension) I get a NullPointerException. It works as expected when I access the JSP pages with .faces extension. Whay is that so?
I read somewhere that this can be countered by using the security-constraint tag in web.xml file.
This means that when an URL is encountered which ends with .faces, it is being handled by the Faces Servlet, which interprets the corresponding .jsp file as being a JSF file. Therefore, that does work.