I have copied web.xml,faces-config.xml,index.jsp, userLogin.jsp and also the list of jars I am using. java version I am using jdk1.5.0_14 tomcat version 5.5.25 JSF Version 1.1_01
---------------------------------------------------------------------this is the error------------------------------------------------------------------ exception
org.apache.jasper.JasperException: Exception in JSP: /index.jsp:7
-------------------------------------------------------------------------------- THE WEB.XML FILE I AM USING IS
The web.xml, faces-config.xml files which I am using , <?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <context-param> <param-name>javax.faces.CONFIG_FILES</param-name> <param-value>/WEB-INF/faces-config.xml</param-value> </context-param> <context-param> <param-name>javax.faces.DEFAULT_SUFFIX</param-name> <param-value>.xhtml</param-value> </context-param> <context-param> <param-name>com.sun.faces.validateXml</param-name> <param-value>true</param-value> <description> Set this flag to true if you want the JavaServer Faces Reference Implementation to validate the XML in your faces-config.xml resources against the DTD. Default value is false. </description> </context-param> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</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>index.jsp</welcome-file> </welcome-file-list> <!--Tomcat 5 Workaround: Listener used to initialize JSF on startup--> <listener> <listener-class>com.sun.faces.config.ConfigureListener</listener-class> </listener> </web-app>
THE FACES-CONFIG.XML I AM USING <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
-------------------------------------------------------------------------------- THE JAR FILES LOCATED AT tomcat-5.5\webapps\Loginjsf\WEB-INF\lib commons-beanutils.jar commons-collections.jar commons-digester.jar commons-logging.jar el-api.jar el-ri.jar jsf-api.jar jsf-facelets.jar jsf-impl.jar jstl.jar standard.jar
It would be great if you could help me in resolving this problem, what is that I am doing wrong?
There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.
In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.