Salve a tutti, voglio imparare ad usare le JSF ed ho creato un nuovo progetto su IDE Eclipse con Tomcat 7.
Ho iniziato con l'esempio descritto nell'articolo: Introduzione a JSF di HTML.it.
Ho creato un nuovo "Dynamic web project" ed ho inserito l'esempio pari pari, tuttavia durante l'esecuzione ricevo le seguenti segnalazioni.
Qualcuno sa darmi un aiuto?
Grazie
codice:Grave: Servlet.service() for servlet [jsp] in context with path [/intjsf] threw exception [An exception occurred processing JSP page /faces/index.jsp at line 9 6: <title>..:: JSF Esempio::..</title> 7: </head> 8: <body> 9: <f:view> 10: <h:form> 11: <h:outputText value="Inserisci il tuo nome per accedere" /> 12: <h:inputText value="#{utente.nome}" /> Stacktrace:] with root cause javax.servlet.jsp.JspException: Cannot find FacesContext at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:405) at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:105) at org.apache.jsp.faces.index_jsp._jspx_meth_f_005fview_005f0(index_jsp.java:104) at org.apache.jsp.faces.index_jsp._jspService(index_jsp.java:79) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

Rispondi quotando
