Author: andrei_exadel
Date: 2009-03-04 05:02:55 -0500 (Wed, 04 Mar 2009)
New Revision: 12818
Modified:
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/web.xml
Log:
Update web.xml
Modified: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/web.xml 2009-03-04
09:33:10 UTC (rev 12817)
+++ trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/web.xml 2009-03-04
10:02:55 UTC (rev 12818)
@@ -4,8 +4,26 @@
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
- <!-- Ajax4jsf -->
+
+
+ <listener>
+ <listener-class>
+ org.jboss.seam.servlet.SeamListener
+ </listener-class>
+ </listener>
+
<filter>
+ <filter-name>Seam Filter</filter-name>
+ <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>
+ </filter>
+
+ <filter-mapping>
+ <filter-name>Seam Filter</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>
+
+<!-- Ajax4jsf -->
+ <filter>
<display-name>Ajax4jsf Filter</display-name>
<filter-name>ajax4jsf</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
@@ -28,30 +46,13 @@
<param-name>org.richfaces.SKIN</param-name>
<param-value>realworld</param-value>
</context-param>
-
- <context-param>
- <param-name>facelets.LIBRARIES</param-name>
- <param-value>/WEB-INF/tags/realWorld-taglib.xml</param-value>
+
+ <context-param>
+ <param-name>org.ajax4jsf.xmlparser.TIDY</param-name>
+ <param-value>/*</param-value>
</context-param>
<!-- Seam -->
-
- <listener>
- <listener-class>
- org.jboss.seam.servlet.SeamListener
- </listener-class>
- </listener>
-
- <filter>
- <filter-name>Seam Filter</filter-name>
- <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>
- </filter>
-
- <filter-mapping>
- <filter-name>Seam Filter</filter-name>
- <url-pattern>/*</url-pattern>
- </filter-mapping>
-
<servlet>
<servlet-name>Seam Resource Servlet</servlet-name>
<servlet-class>
@@ -78,11 +79,9 @@
<param-value>.xhtml</param-value>
</context-param>
- <context-param>
+ <context-param>
<param-name>uploadRoot</param-name>
- <param-value>
- C:\Upload\
- </param-value>
+ <param-value>d:/Upload/</param-value>
</context-param>
@@ -120,5 +119,4 @@
<display-name>copyImageListener</display-name>
<listener-class>org.richfaces.realworld.listener.CopyImagesStuff</listener-class>
</listener>
-
</web-app>