[jboss-user] [JBoss Seam] - Re: can't get it working: exception redirection

fguerzoni do-not-reply at jboss.com
Tue May 29 06:51:27 EDT 2007


Here is my web.xml

	
		<listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
	

	
		<listener-class>
			org.apache.myfaces.webapp.StartupServletContextListener
		</listener-class>
	

	<context-param>
		<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
		<param-value>client</param-value>
	</context-param>

	<context-param>
		<param-name>facelets.DEVELOPMENT</param-name>
		<param-value>false</param-value>
	</context-param>

	<context-param>
		<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
		<param-value>.xhtml</param-value>
	</context-param>


	
		<filter-name>Seam Exception Filter</filter-name>
		<filter-class>org.jboss.seam.servlet.SeamExceptionFilter</filter-class>
	

	
		<filter-name>Seam Redirect Filter</filter-name>
		<filter-class>org.jboss.seam.servlet.SeamRedirectFilter</filter-class>
	

	<filter-mapping>
		<filter-name>Seam Exception Filter</filter-name>
		<url-pattern>/*</url-pattern>
	</filter-mapping>

	<filter-mapping>
		<filter-name>Seam Redirect Filter</filter-name>
		<url-pattern>*.seam</url-pattern>
	</filter-mapping>
 
 
 
 
	
		<servlet-name>Faces Servlet</servlet-name>
		<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
		<load-on-startup>1</load-on-startup>
	
	<servlet-mapping>
		<servlet-name>Faces Servlet</servlet-name>
		<url-pattern>*.seam</url-pattern>
	</servlet-mapping>

	
		<servlet-name>Seam Resource Servlet</servlet-name>
		<servlet-class>org.jboss.seam.servlet.ResourceServlet</servlet-class>
	
	<servlet-mapping>
		<servlet-name>Seam Resource Servlet</servlet-name>
		<url-pattern>/seam/resource/*</url-pattern>
	</servlet-mapping>




Hope it helps!

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

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



More information about the jboss-user mailing list