Coba tambahin ini: <listener> <listener-class> com.sun.faces.config.ConfigureListener</listener-class> </listener>
On Sat, Feb 14, 2009 at 9:46 PM, Lastiko Wibisono <[email protected]> wrote: > Ini mas web.xml-nya. > > > > <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/web-app_2_5.xsd"> > > <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.validateXml</param-name> > > <param-value>true</param-value> > > </context-param> > > <context-param> > > <param-name>com.sun.faces.verifyObjects</param-name> > > <param-value>false</param-value> > > </context-param> > > <context-param> > > <param-name>contextConfigLocation</param-name> > > <param-value> > > /WEB-INF/eprocContext.xml > > /WEB-INF/config/context/module/setting/itemContext.xml > > /WEB-INF/config/context/module/setting/usersContext.xml > > /WEB-INF/securityContext.xml > > </param-value> > > </context-param> > > > > <context-param> > > <param-name>javax.faces.CONFIG_FILES</param-name> > > <param-value> > > > /WEB-INF/config/faces-config/module/setting/itemFacesConfig.xml, > > > /WEB-INF/config/faces-config/module/setting/userFacesConfig.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>facelets.DEVELOPMENT</param-name> > > <param-value>true</param-value> > > </context-param> > > <context-param> > > <param-name>facelets.SKIP_COMMENTS</param-name> > > <param-value>true</param-value> > > </context-param> > > > > <filter> > > <filter-name>eprocFilterChainProxy</filter-name> > > > <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class> > > </filter> > > <filter-mapping> > > <filter-name>eprocFilterChainProxy</filter-name> > > <url-pattern>/*</url-pattern> > > </filter-mapping> > > > > > <listener><listener-class>org.springframework.web.context.ContextLoaderListener</listener-class></listener><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> > > <session-config> > > <session-timeout> > > 30 > > </session-timeout> > > </session-config> > > <welcome-file-list> > > <welcome-file>index.faces</welcome-file> > > </welcome-file-list> > > <error-page> > > <exception-type>javax.servlet.ServletException</exception-type> > > <location>/error/ExceptionHandler</location> > > </error-page> > > <error-page> > > <exception-type>java.io.IOException</exception-type> > > <location>/error/ExceptionHandler</location> > > </error-page> > > <error-page> > > <exception-type>javax.faces.FacesException</exception-type> > > <location>/error/ExceptionHandler</location> > > </error-page> > > <error-page> > > > <exception-type>com.sun.rave.web.ui.appbase.ApplicationException</exception-type> > > <location>/error/ExceptionHandler</location> > > </error-page> > > > > <jsp-config> > > <jsp-property-group> > > <url-pattern>*.jspf</url-pattern> > > <is-xml>true</is-xml> > > </jsp-property-group> > > </jsp-config> > > </web-app> -- If you can't believe in God the chances are your God is too small. Read my blog: http://joshuajava.wordpress.com/ Follow me on twitter: http://twitter.com/jpartogi

