Friends, good afternoon, need your help, I'm trying to create my first application on GAME, using JAVA JSF, By following the tutorial, http://submundojava.com.br/wordpress/2007/08/27/java-server-faces-12- hello-world / and the recommendations of the link https: / / sites.google.com/a/wildstartech.com/adventures-in-java/Java-Platform- Enterprise-Edition/JavaServer-Faces/sun-javaserver-faces- reference- implementation/configuring-jsf-20-to-run-on-the-google-appengine.
Yet when trying to stop my page \ faces \ index.jsp is shown me the error: HTTP ERROR: 500 jsp.error.beans.property.conversion RequestURI = / faces / index.jsp Caused by: org.apache.jasper.JasperException: jsp.error.beans.property.conversion at org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager (JspRuntimeLibrary.java: 885) at org.apache.jsp.index_jsp._jspx_meth_h_inputText_0 (index_jsp.java: 193) You can help me? I added the following jar to the lib folder of the web-inf: api1.1.jar el-el-impl-1.1.jar, jsf-api.jar, jsf-impl.jar the web-xml like this: <xml version = "1.0" encoding = "UTF-8"?> <web-app version = "2.5" xmlns = "http://java.sun.com/xml/ns/javaee" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: schemaLocation = "http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/webapp_2_5.xsd "> <! - Disable use of threading for single-threaded environments such as the Google AppEngine. -> <context-param> <param-name> com.sun.faces.enableThreading </ param-name> <param-value> false </ param-value> <description> When enabled, the default runtime initialization and ResourceHandler implementation will use threads to perform their functions. Set this value to false if threads are not desired (as in the case of running within the Google Application Engine). Note that when this option is disabled, the ResourceHandler will not pick up new versions of resources when ProjectStage is development. </ description> </ context-param> <context-param> <param-name> javax.faces.PROJECT_STAGE </ param-name> <param-value> Production </ param-value> </ context-param> <context-param> <param-name> javax.faces.STATE_SAVING_METHOD </ param-name> <param-value> client </ param-value> </ context-param> <context-param> <param-name> com.sun.faces.expressionFactory </ param-name> <param-value> com.sun.el.ExpressionFactoryImpl </ param-value> </ context-param> <context-param> <param-name> com.sun.faces.verifyObjects </ param-name> <param-value> true </ param-value> </ context-param> <context-param> <param-name> com.sun.faces.validateXml </ param-name> <param-value> true </ param-value> </ context-param> <context-param> <param-name> javax.faces.STATE_SAVING_METHOD </ param-name> <param-value> client </ param-value> </ context-param> <servlet> <servlet-name> Faces Servlet </ servlet-name> javax.faces.webapp.FacesServlet HelloWorld </ servlet-class> <load-on-startup> 1 </ load-on-startup> </ servlet> <servlet-mapping> <servlet-name> Faces Servlet </ servlet-name> <url-pattern> / faces / * </ url-pattern> </ servlet-mapping> <welcome-file-list> <welcome-file> faces / index.jsp </ welcome-file> </ welcome-file-list> </ web-app> index.jsp <%...@page contentType="text/html"%><%...@page pageEncoding="UTF-8"%> <%...@taglib prefix="f" uri="http://java.sun.com/jsf/core"%> <%...@taglib prefix="h" uri="http://java.sun.com/jsf/html"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http:// www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Java Server Faces Tutorial</title> </head> <body> <f:view> <h:form id="formulario"> <b>Nome:</b> <h:inputText id="nome" value="#{hwBean.nome}" required="true" requiredMessage="O campo nome deve ser preenchido!"/> <h:commandButton value="GO" action="#{hwBean.acao}" /><br> <h:message for="nome" errorStyle="color:red"/> </h:form> </f:view> </body> </html> very tks Victor --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
