[seam-commits] Seam SVN: r11695 - in modules/trunk/remoting/examples/helloworld: src/main/webapp/WEB-INF and 1 other directory.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Sat Nov 28 05:59:02 EST 2009


Author: shane.bryzak at jboss.com
Date: 2009-11-28 05:59:01 -0500 (Sat, 28 Nov 2009)
New Revision: 11695

Modified:
   modules/trunk/remoting/examples/helloworld/pom.xml
   modules/trunk/remoting/examples/helloworld/src/main/webapp/WEB-INF/web.xml
Log:
fix deployment problems


Modified: modules/trunk/remoting/examples/helloworld/pom.xml
===================================================================
--- modules/trunk/remoting/examples/helloworld/pom.xml	2009-11-27 20:16:15 UTC (rev 11694)
+++ modules/trunk/remoting/examples/helloworld/pom.xml	2009-11-28 10:59:01 UTC (rev 11695)
@@ -49,7 +49,6 @@
       <dependency>
          <groupId>org.jboss.seam</groupId>
          <artifactId>seam-remoting</artifactId>
-         <scope>provided</scope>
          <version>3.0.0-SNAPSHOT</version>
       </dependency>
       

Modified: modules/trunk/remoting/examples/helloworld/src/main/webapp/WEB-INF/web.xml
===================================================================
--- modules/trunk/remoting/examples/helloworld/src/main/webapp/WEB-INF/web.xml	2009-11-27 20:16:15 UTC (rev 11694)
+++ modules/trunk/remoting/examples/helloworld/src/main/webapp/WEB-INF/web.xml	2009-11-28 10:59:01 UTC (rev 11695)
@@ -10,24 +10,35 @@
    <!-- JSF -->
 
    <servlet>
-         <servlet-name>Faces Servlet</servlet-name>
-               <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
-                     <load-on-startup>1</load-on-startup>
-                        </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>
-                     
+      <servlet-name>Faces Servlet</servlet-name>
+      <url-pattern>*.jsf</url-pattern>
+   </servlet-mapping>
+ 
+   <servlet>
+      <servlet-name>Remoting Servlet</servlet-name>
+      <servlet-class>org.jboss.seam.remoting.Remoting</servlet-class>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet-mapping>
+      <servlet-name>Remoting Servlet</servlet-name>
+      <url-pattern>/seam/resource/remoting</url-pattern>
+   </servlet-mapping>
+                    
    <context-param>
-         <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
-               <param-value>.xhtml</param-value>
-                  </context-param>
+      <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
+      <param-value>.xhtml</param-value>
+   </context-param>
 
    <session-config>
-         <session-timeout>10</session-timeout>
-            </session-config>
+      <session-timeout>10</session-timeout>
+   </session-config>
 
 </web-app>
 



More information about the seam-commits mailing list