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-c
lass>

    </filter>

    <filter-mapping>

        <filter-name>eprocFilterChainProxy</filter-name>

        <url-pattern>/*</url-pattern>

    </filter-mapping>

 

 
<listener><listener-class>org.springframework.web.context.ContextLoaderListe
ner</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>

 

Regards,

 

--

Lastiko Wibisono

 

From: jug-indonesia@yahoogroups.com [mailto:jug-indone...@yahoogroups.com]
On Behalf Of Joshua Partogi
Sent: 14 Februari 2009 16:55
To: jug-indonesia@yahoogroups.com
Subject: Re: [JUG-Indonesia] Tanya error Spring, JSF, Hibernate di tomcat
5.0 jvm 1.4.2

 

Coba kasih liat web.xml -nya

2009/2/14 Lastiko Wibisono <leonhart...@gmail.com
<mailto:leonhart135%40gmail.com> >:
>
>
> Tadi sempet nyari2 ternyata Facelet 1.1.14 / JSF 1.2 hanya support di JDK
> 1.5 ke atas, lalu saya coba ganti librarynya dengan Facelet 1.0.1 / JSF
1.1



Kirim email ke