Technically, a JSF "jsp" is NOT a JSP. JSPs are written in HTML and JSP tag extensions to HTML. They are compiled to produce servlets, which are then executed when the appropriate URL request is made by a client.
JSF "jsp's" are actually templates written in JSF View Definition Language, which is an XML format. They do NOT create servlets. Instead, the FacesServlet compiles the template into a UIComponent tree and acts as a Controller to interact with that tree.
In fact, use of the ".jsp" extension isn't even the recommended practice any more. As of JSF2, the spec includes Facelets, and the recommended extension for a Facelets resource is not ".jsp", it's ".xhtml".
However, the real reason that your EL property references fail to expand is almost certainly because you aren't routing the incoming URL through the FacesServlet. So the appserver is attempting to execute the jsp file as a JSP rather than as JSF.
Got idle CPU cycles? Join the war on COVID-19 by donating them to find the coronavirus' weak spots. folding@home Runs in the background. https://foldingathome.org
posted 8 years ago
So would you please tell me how to do that , I provide the structure I have made --
Application Name : Testjsf [ contains pages and WEB-INF folder and index.jsp(contains <jsp:forward page="/pages/inputname.jsf" />) ]
with in pages 2 jsp file present inputname.jsp and result.jsp with in WEB-INF classes and lib folder is present and web.xml and faces-config.xml is present