This content has been marked as final.
Show 3 replies
-
1. Re: Problem running a sample SunJSF/RichFaces application
ilya_shaikovsky Feb 29, 2008 4:56 AM (in response to adesai)Are you have our filter defined in web.xml?
-
2. Re: Problem running a sample SunJSF/RichFaces application
adesai Feb 29, 2008 10:58 AM (in response to adesai)Thanks for your reply.
This is how my web.xml look. Can you please let me know whats wrong in it, if at all anything wrong?<?xml version="1.0"?> <!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.STATE_SAVING_METHOD</param-name> <param-value>client</param-value> </context-param> <context-param> <param-name>javax.faces.application.CONFIG_FILES</param-name> <param-value>/WEB-INF/faces-config.xml</param-value> </context-param> <context-param> <param-name>com.sun.faces.validateXml</param-name> <param-value>true</param-value> </context-param> <!-- Faces Servlet --> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <!-- Added by AmolD - 27th Feb 08 Start --> <context-param> <param-name>org.richfaces.SKIN</param-name> <param-value>blueSky</param-value> </context-param> <filter> <display-name>RichFaces Filter</display-name> <filter-name>richfaces</filter-name> <filter-class>org.ajax4jsf.Filter</filter-class> </filter> <filter-mapping> <filter-name>richfaces</filter-name> <servlet-name>Faces Servlet</servlet-name> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> <dispatcher>INCLUDE</dispatcher> </filter-mapping> <!-- End --> <!-- Faces Servlet Mapping --> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.jsf</url-pattern> </servlet-mapping> </web-app>
-
3. Re: Problem running a sample SunJSF/RichFaces application
viggo.navarsete Mar 1, 2008 11:10 AM (in response to adesai)If you look in the Developer Guide listed as a URL from the "Important links" post on the frontpage, you would be able to see how to configure your web.xml