You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2015/12/14 11:02:25 UTC
svn commit: r1719872 [2/2] - in /ofbiz/trunk:
applications/accounting/webapp/accounting/WEB-INF/
applications/accounting/webapp/ap/WEB-INF/
applications/accounting/webapp/ar/WEB-INF/
applications/commonext/webapp/WEB-INF/ applications/commonext/webapp/...
Modified: ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/web.xml?rev=1719872&r1=1719871&r2=1719872&view=diff
==============================================================================
--- ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/web.xml (original)
+++ ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/web.xml Mon Dec 14 10:02:24 2015
@@ -1,5 +1,4 @@
<?xml version="1.0"?>
-<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<!--
Licensed to the Apache Software Foundation (ASF) under one
@@ -20,33 +19,39 @@ specific language governing permissions
under the License.
-->
-<web-app>
- <display-name>Apache OFBiz - Web Tools</display-name>
- <description>Common Application Components of the Apache OFBiz Project</description>
-
- <context-param>
- <param-name>entityDelegatorName</param-name>
- <param-value>default</param-value>
- <!--<description>The Name of the Entity Delegator to use, defined in entityengine.xml</description>-->
- </context-param>
- <context-param>
- <param-name>localDispatcherName</param-name>
- <param-value>webtools</param-value>
- <!--<description>A unique name used to identify/recognize the local dispatcher for the Service Engine</description>-->
- </context-param>
- <context-param>
- <param-name>xmlrpc.enabledForExtensions</param-name>
- <param-value>true</param-value>
- </context-param>
- <context-param>
- <param-name>mainDecoratorLocation</param-name>
- <param-value>component://webtools/widget/CommonScreens.xml</param-value>
- <description>The location of the main-decorator screen to use for this webapp; referred to as a context variable in screen def XML files.</description>
- </context-param>
+<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">
+ <display-name>Apache OFBiz - Web Tools</display-name>
+ <description>Common Application Components of the Apache OFBiz Project</description>
+
+ <context-param>
+ <param-name>entityDelegatorName</param-name>
+ <param-value>default</param-value>
+ <!--<description>The Name of the Entity Delegator to use, defined in entityengine.xml</description>-->
+ </context-param>
+ <context-param>
+ <param-name>localDispatcherName</param-name>
+ <param-value>webtools</param-value>
+ <!--<description>A unique name used to identify/recognize the local dispatcher for the Service Engine</description>-->
+ </context-param>
+ <context-param>
+ <param-name>xmlrpc.enabledForExtensions</param-name>
+ <param-value>true</param-value>
+ </context-param>
+ <context-param>
+ <description>The location of the main-decorator screen to use for this webapp; referred to as a context variable
+ in screen def XML files.
+ </description>
+ <param-name>mainDecoratorLocation</param-name>
+ <param-value>component://webtools/widget/CommonScreens.xml</param-value>
+ </context-param>
<filter>
- <filter-name>ContextFilter</filter-name>
<display-name>ContextFilter</display-name>
+ <filter-name>ContextFilter</filter-name>
<filter-class>org.ofbiz.webapp.control.ContextFilter</filter-class>
<init-param>
<param-name>disableContextSecurity</param-name>
@@ -54,7 +59,9 @@ under the License.
</init-param>
<init-param>
<param-name>allowedPaths</param-name>
- <param-value>/ping.txt:/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/applet:/includes/maincss.css</param-value>
+ <param-value>
+ /ping.txt:/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/applet:/includes/maincss.css
+ </param-value>
</init-param>
<init-param>
<param-name>errorCode</param-name>
@@ -71,73 +78,83 @@ under the License.
</filter>
<filter-mapping>
<filter-name>ContextFilter</filter-name>
- <url-pattern>/*</url-pattern>
+ <url-pattern>/*</url-pattern>
</filter-mapping>
- <listener><listener-class>org.ofbiz.webapp.control.ControlEventListener</listener-class></listener>
- <listener><listener-class>org.ofbiz.webapp.control.LoginEventListener</listener-class></listener>
- <!-- NOTE: not all app servers support mounting implementations of the HttpSessionActivationListener interface -->
- <!-- <listener><listener-class>org.ofbiz.webapp.control.ControlActivationEventListener</listener-class></listener> -->
-
- <servlet>
- <servlet-name>ControlServlet</servlet-name>
- <display-name>ControlServlet</display-name>
- <description>Main Control Servlet</description>
- <servlet-class>org.ofbiz.webapp.control.ControlServlet</servlet-class>
- <load-on-startup>1</load-on-startup>
- </servlet>
- <servlet-mapping>
- <servlet-name>ControlServlet</servlet-name>
- <url-pattern>/control/*</url-pattern>
- </servlet-mapping>
-
- <session-config>
- <session-timeout>60</session-timeout> <!-- in minutes -->
- </session-config>
-
- <welcome-file-list>
- <welcome-file>index.jsp</welcome-file>
- </welcome-file-list>
-
-<!-- HTTP Response Code definitions:
-| "400" ; Bad Request
-| "401" ; Unauthorized
-| "402" ; Payment Required
-| "403" ; Forbidden
-| "404" ; Not Found
-| "405" ; Method Not Allowed
-| "406" ; Not Acceptable
-| "407" ; Proxy Authentication Required
-| "408" ; Request Time-out
-| "409" ; Conflict
-| "410" ; Gone
-| "411" ; Length Required
-| "412" ; Precondition Failed
-| "413" ; Request Entity Too Large
-| "414" ; Request-URI Too Large
-| "415" ; Unsupported Media Type
-| "500" ; Internal Server Error
-| "501" ; Not Implemented
-| "502" ; Bad Gateway
-| "503" ; Service Unavailable
-| "504" ; Gateway Time-out
-| "505" ; HTTP Version not supported
--->
-
-<!--
- <security-constraint>
- <web-resource-collection>
- <web-resource-name>Entire Site</web-resource-name>
- <description>Entire Site</description>
- <url-pattern>/*</url-pattern>
- </web-resource-collection>
--->
+ <listener>
+ <listener-class>org.ofbiz.webapp.control.ControlEventListener</listener-class>
+ </listener>
+ <listener>
+ <listener-class>org.ofbiz.webapp.control.LoginEventListener</listener-class>
+ </listener>
+ <!-- NOTE: not all app servers support mounting implementations of the HttpSessionActivationListener interface -->
+ <!-- <listener><listener-class>org.ofbiz.webapp.control.ControlActivationEventListener</listener-class></listener> -->
+
+ <servlet>
+ <description>Main Control Servlet</description>
+ <display-name>ControlServlet</display-name>
+ <servlet-name>ControlServlet</servlet-name>
+ <servlet-class>org.ofbiz.webapp.control.ControlServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>ControlServlet</servlet-name>
+ <url-pattern>/control/*</url-pattern>
+ </servlet-mapping>
+
+ <session-config>
+ <session-timeout>60</session-timeout>
+ <!-- in minutes -->
+ <cookie-config>
+ <http-only>true</http-only>
+ <secure>true</secure>
+ </cookie-config>
+ <tracking-mode>COOKIE</tracking-mode>
+ </session-config>
+
+ <welcome-file-list>
+ <welcome-file>index.jsp</welcome-file>
+ </welcome-file-list>
+
+ <!-- HTTP Response Code definitions:
+ | "400" ; Bad Request
+ | "401" ; Unauthorized
+ | "402" ; Payment Required
+ | "403" ; Forbidden
+ | "404" ; Not Found
+ | "405" ; Method Not Allowed
+ | "406" ; Not Acceptable
+ | "407" ; Proxy Authentication Required
+ | "408" ; Request Time-out
+ | "409" ; Conflict
+ | "410" ; Gone
+ | "411" ; Length Required
+ | "412" ; Precondition Failed
+ | "413" ; Request Entity Too Large
+ | "414" ; Request-URI Too Large
+ | "415" ; Unsupported Media Type
+ | "500" ; Internal Server Error
+ | "501" ; Not Implemented
+ | "502" ; Bad Gateway
+ | "503" ; Service Unavailable
+ | "504" ; Gateway Time-out
+ | "505" ; HTTP Version not supported
+ -->
+
+ <!--
+ <security-constraint>
+ <web-resource-collection>
+ <web-resource-name>Entire Site</web-resource-name>
+ <description>Entire Site</description>
+ <url-pattern>/*</url-pattern>
+ </web-resource-collection>
+ -->
<!-- For enabling SSL, specify CONFIDENTIAL or INTEGRAL. -->
-<!--
- <user-data-constraint>
- <transport-guarantee>CONFIDENTIAL</transport-guarantee>
- </user-data-constraint>
- </security-constraint>
--->
+ <!--
+ <user-data-constraint>
+ <transport-guarantee>CONFIDENTIAL</transport-guarantee>
+ </user-data-constraint>
+ </security-constraint>
+ -->
</web-app>
Modified: ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/WEB-INF/web.xml?rev=1719872&r1=1719871&r2=1719872&view=diff
==============================================================================
--- ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/WEB-INF/web.xml (original)
+++ ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/WEB-INF/web.xml Mon Dec 14 10:02:24 2015
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@@ -19,12 +18,21 @@ specific language governing permissions
under the License.
-->
-<web-app>
+<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">
<display-name>Apache OFBiz - It's Bizzness Time Visual Theme</display-name>
<description>It's bizzness, it's bizzness time. I couldn't have said it better myself. This theme gets down</description>
<session-config>
- <session-timeout>1</session-timeout>
+ <session-timeout>1</session-timeout>
+ <cookie-config>
+ <http-only>true</http-only>
+ <secure>true</secure>
+ </cookie-config>
+ <tracking-mode>COOKIE</tracking-mode>
</session-config>
<welcome-file-list>
Modified: ofbiz/trunk/themes/bluelight/webapp/bluelight/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/WEB-INF/web.xml?rev=1719872&r1=1719871&r2=1719872&view=diff
==============================================================================
--- ofbiz/trunk/themes/bluelight/webapp/bluelight/WEB-INF/web.xml (original)
+++ ofbiz/trunk/themes/bluelight/webapp/bluelight/WEB-INF/web.xml Mon Dec 14 10:02:24 2015
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@@ -19,12 +18,21 @@ specific language governing permissions
under the License.
-->
-<web-app>
+<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">
<display-name>Apache OFBiz - bluelight Visual Theme</display-name>
<description>bluelight Visual Theme</description>
<session-config>
<session-timeout>1</session-timeout>
+ <cookie-config>
+ <http-only>true</http-only>
+ <secure>true</secure>
+ </cookie-config>
+ <tracking-mode>COOKIE</tracking-mode>
</session-config>
<welcome-file-list>
Modified: ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/WEB-INF/web.xml?rev=1719872&r1=1719871&r2=1719872&view=diff
==============================================================================
--- ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/WEB-INF/web.xml (original)
+++ ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/WEB-INF/web.xml Mon Dec 14 10:02:24 2015
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@@ -19,12 +18,21 @@ specific language governing permissions
under the License.
-->
-<web-app>
+<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">
<display-name>Apache OFBiz - Bread Crumbs Visual Theme</display-name>
<description>Bread Crumbs Visual Theme</description>
<session-config>
<session-timeout>1</session-timeout>
+ <cookie-config>
+ <http-only>true</http-only>
+ <secure>true</secure>
+ </cookie-config>
+ <tracking-mode>COOKIE</tracking-mode>
</session-config>
<welcome-file-list>
Modified: ofbiz/trunk/themes/flatgrey/webapp/flatgrey/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/flatgrey/webapp/flatgrey/WEB-INF/web.xml?rev=1719872&r1=1719871&r2=1719872&view=diff
==============================================================================
--- ofbiz/trunk/themes/flatgrey/webapp/flatgrey/WEB-INF/web.xml (original)
+++ ofbiz/trunk/themes/flatgrey/webapp/flatgrey/WEB-INF/web.xml Mon Dec 14 10:02:24 2015
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@@ -19,12 +18,21 @@ specific language governing permissions
under the License.
-->
-<web-app>
+<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">
<display-name>Apache OFBiz - Flat Grey Visual Theme</display-name>
<description>Flat Grey Visual Theme</description>
<session-config>
- <session-timeout>1</session-timeout>
+ <session-timeout>1</session-timeout>
+ <cookie-config>
+ <http-only>true</http-only>
+ <secure>true</secure>
+ </cookie-config>
+ <tracking-mode>COOKIE</tracking-mode>
</session-config>
<welcome-file-list>
Modified: ofbiz/trunk/themes/multiflex/webapp/multiflex/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/multiflex/webapp/multiflex/WEB-INF/web.xml?rev=1719872&r1=1719871&r2=1719872&view=diff
==============================================================================
--- ofbiz/trunk/themes/multiflex/webapp/multiflex/WEB-INF/web.xml (original)
+++ ofbiz/trunk/themes/multiflex/webapp/multiflex/WEB-INF/web.xml Mon Dec 14 10:02:24 2015
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@@ -19,12 +18,21 @@ specific language governing permissions
under the License.
-->
-<web-app>
+<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">
<display-name>Apache OFBiz - multiflex Ecommerce Visual Theme</display-name>
<description>multiflex Ecommerce Visual Theme</description>
<session-config>
<session-timeout>1</session-timeout>
+ <cookie-config>
+ <http-only>true</http-only>
+ <secure>true</secure>
+ </cookie-config>
+ <tracking-mode>COOKIE</tracking-mode>
</session-config>
<welcome-file-list>
Modified: ofbiz/trunk/themes/tomahawk/webapp/tomahawk/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/tomahawk/webapp/tomahawk/WEB-INF/web.xml?rev=1719872&r1=1719871&r2=1719872&view=diff
==============================================================================
--- ofbiz/trunk/themes/tomahawk/webapp/tomahawk/WEB-INF/web.xml (original)
+++ ofbiz/trunk/themes/tomahawk/webapp/tomahawk/WEB-INF/web.xml Mon Dec 14 10:02:24 2015
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@@ -19,12 +18,21 @@ specific language governing permissions
under the License.
-->
-<web-app>
+<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">
<display-name>Apache OFBiz - Tomahawk Visual Theme</display-name>
<description>Tomahawk Visual Theme</description>
<session-config>
<session-timeout>1</session-timeout>
+ <cookie-config>
+ <http-only>true</http-only>
+ <secure>true</secure>
+ </cookie-config>
+ <tracking-mode>COOKIE</tracking-mode>
</session-config>
<welcome-file-list>