[seam-commits] Seam SVN: r12935 - modules/faces/trunk/examples/short-ly/src/main/webapp/WEB-INF.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Wed Jun 2 08:46:45 EDT 2010
Author: pete.muir at jboss.org
Date: 2010-06-02 08:46:44 -0400 (Wed, 02 Jun 2010)
New Revision: 12935
Modified:
modules/faces/trunk/examples/short-ly/src/main/webapp/WEB-INF/web.xml
Log:
make xml validate
Modified: modules/faces/trunk/examples/short-ly/src/main/webapp/WEB-INF/web.xml
===================================================================
--- modules/faces/trunk/examples/short-ly/src/main/webapp/WEB-INF/web.xml 2010-06-02 12:43:12 UTC (rev 12934)
+++ modules/faces/trunk/examples/short-ly/src/main/webapp/WEB-INF/web.xml 2010-06-02 12:46:44 UTC (rev 12935)
@@ -1,53 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
-<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
-
- <data-source>
- <name>java:app/Application_Level_DataSource</name>
- <class-name>org.hsqldb.jdbc.jdbcDataSource</class-name>
- <url>jdbc:hsqldb:file:aname</url>
- <user>sa</user>
- <password>sa</password>
- <property>
- <name>hibernate.dialect</name>
- <value>org.hibernate.dialect.HSQLDialect</value>
- </property>
- </data-source>
- <data-source>
- <name>java:app/mysql</name>
- <class-name>org.hsqldb.jdbc.jdbcDataSource</class-name>
- <url>jdbc:hsqldb:file:aname</url>
- <user>sa</user>
- <password>sa</password>
- <property>
- <name>hibernate.dialect</name>
- <value>org.hibernate.dialect.HSQLDialect</value>
- </property>
- </data-source>
-
-
- <context-param>
- <param-name>javax.faces.PROJECT_STAGE</param-name>
- <param-value>Development</param-value>
- </context-param>
- <context-param>
- <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
- <param-value>client</param-value>
- </context-param>
- <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>/faces/*</url-pattern>
- </servlet-mapping>
- <session-config>
- <session-timeout>30</session-timeout>
- </session-config>
- <welcome-file-list>
- <welcome-file>faces/index.xhtml</welcome-file>
- </welcome-file-list>
-</web-app>
+<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" version="3.0">
+ <context-param>
+ <param-name>javax.faces.PROJECT_STAGE</param-name>
+ <param-value>Development</param-value>
+ </context-param>
+ <context-param>
+ <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+ <param-value>client</param-value>
+ </context-param>
+ <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>/faces/*</url-pattern>
+ </servlet-mapping>
+ <session-config>
+ <session-timeout>30</session-timeout>
+ </session-config>
+ <welcome-file-list>
+ <welcome-file>faces/index.xhtml</welcome-file>
+ </welcome-file-list>
+</web-app>
\ No newline at end of file
More information about the seam-commits
mailing list