[jboss-user] [JBoss Portal] - Re: MyFaces 1.1.2 Portal 2.4

alain_fr do-not-reply at jboss.com
Tue Sep 12 14:52:53 EDT 2006


maybe it can help
my web.xml

<?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.CONFIG_FILES</param-name>
  |         <param-value>
  |           /WEB-INF/faces-config.xml
  | 		</param-value>
  |     </context-param>
  | 	
  |     
  |     <listener>
  |     	<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
  |     </listener>
  |     
  |     <listener>
  |     	<listener-class>de.mindmatters.faces.spring.config.ConfigLoaderListener</listener-class>
  |     </listener>
  |     
  |     <listener>
  |     	<listener-class>de.mindmatters.faces.spring.context.ContextLoaderListener</listener-class>
  |     </listener>
  | 
  |     <servlet>
  |         <servlet-name>dispatcher</servlet-name>
  |         <servlet-class>de.mindmatters.faces.spring.context.servlet.DispatcherServlet</servlet-class>
  |     </servlet>
  | 	   
  | 
  | 	   
  | 	
  | 	<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>*.jsf</url-pattern>
  | </servlet-mapping>
  |   
  |     
  |     <welcome-file-list>
  |     	<welcome-file>index.jsp</welcome-file>
  |     </welcome-file-list>
  |     
  | </web-app>

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971103#3971103

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971103



More information about the jboss-user mailing list