2006/unicorn/WebContent/WEB-INF/conf route.xml,1.1.2.1,1.1.2.2

Update of /sources/public/2006/unicorn/WebContent/WEB-INF/conf
In directory hutz:/tmp/cvs-serv736/WebContent/WEB-INF/conf

Modified Files:
      Tag: dev2
	route.xml 
Log Message:
route.xml modified

Index: route.xml
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/conf/Attic/route.xml,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- route.xml	5 Aug 2009 13:32:36 -0000	1.1.2.1
+++ route.xml	5 Aug 2009 16:17:13 -0000	1.1.2.2
@@ -1,23 +1,25 @@
-<routes>
-	<route>
-		<action-type>forward</action-type>
-		<action-class>org.w3c.unicorn.action.IndexAction</action-class>
-		<pattern>/</pattern>
-		<pattern></pattern>
-	</route>
+<?xml version="1.0" encoding="UTF-8" ?>
+<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+		xsi:schemaLocation="http://www.w3.org/unicorn/route ../schemas/route.xsd"
+		xmlns="http://www.w3.org/unicorn/route">
+		
 	<route>
-		<action-type>forward</action-type>
-		<action-class>org.w3c.unicorn.action.ObserveAction</action-class>
 		<pattern>/observe</pattern>
 		<pattern>/validate</pattern>
+		<action>org.w3c.unicorn.action.ObserveAction</action>
 	</route>
+	
 	<route>
-		<action-type>redirect</action-type>
-		<redirect-url>http://www.google.com</redirect-url>
 		<pattern>/google</pattern>
+		<url>http://www.google.com</url>
 	</route>
-	<default>
-		<action-type>forward</action-type>
-		<action-class>org.w3c.unicorn.action.Error404Action</action-class>
-	</default>
+	
+	<index>
+		<action>org.w3c.unicorn.action.IndexAction</action>
+	</index>
+	
+	<error404>
+		<action>org.w3c.unicorn.action.Error404Action</action>
+	</error404>
+
 </routes>
\ No newline at end of file

Received on Wednesday, 5 August 2009 16:17:32 UTC