Last modified by Ulrich Köster on 2009/08/02 20:26

From version 24.1
edited by Henrique Prange
on 2009/08/02 20:26
Change comment: Migrated to Confluence 4.0
To version 25.1
edited by Henrique Prange
on 2009/08/02 20:26
Change comment: Migrated to Confluence 5.3

Summary

Details

Page properties
Parent
... ... @@ -1,0 +1,1 @@
1 +WOProject-Maven
Tags
... ... @@ -1,0 +1,1 @@
1 +favourite
Info.plist
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +1.3 KB
Content
web.xml
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +2.6 KB
Content
... ... @@ -1,0 +1,76 @@
1 +<?xml version="1.0" encoding="UTF-8" ?>
2 +
3 +<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
4 +Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
5 +
6 +<!-- This web.xml file by itself will allow you to run the corresponding
7 + WebObjects application in a Servlet container. If you would like to
8 + merge the WebObjects application with your existing JSP/Servlet
9 + application, you have to merge this web.xml with your existing web.xml.
10 +
11 + NOTE: This file is normally included as the template file 'web.xml.template'.
12 + During the build process, the placeholders for WOROOT, LOCALROOT, WOAINSTALLROOT,
13 + WOAppMode, WOClassPath, WOApplicationClass and WOtaglib will be replaced
14 + with the appropriate values. Other parts of the template file may be
15 + customized as required.
16 +
17 + NOTE: WEBINFROOT is added to the WOClassPath at build time, but the replacement
18 + value is replaced at runtime to be the path to the WEB-INF directory.
19 +-->
20 +
21 +<web-app>
22 + <display-name>Your Application Name</display-name>
23 + <context-param>
24 + <param-name>WOJarBundle</param-name>
25 + <param-value>YES</param-value>
26 + <description>
27 + Whether this app is a "true" WAR, rather than a "stub" WAR
28 + or SSDD Note that WOROOT, LOCALROOT, WOAINSTALLROOT,
29 + WOClassPath are ignored if this is true However, if this is
30 + true, WOMainBundle must be set to the main bundle name
31 + </description>
32 + </context-param>
33 +
34 + <context-param>
35 + <param-name>WOMainBundle</param-name>
36 + <param-value>your-app-name</param-value>
37 + <description>
38 + Sets the name of the main bundle. Only used if WOJarBundle
39 + is true
40 + </description>
41 + </context-param>
42 +
43 + <!-- Indicates if application is development or deployment mode. In development
44 + mode, images are vended by the application directly from frameworks. In
45 + deployment mode, images are vended by the webserver. -->
46 + <context-param>
47 + <param-name>WOAppMode</param-name>
48 + <param-value>development</param-value>
49 + </context-param>
50 +
51 + <!-- Class name of the WOApplication subclass that defines the
52 + WebObjects application. -->
53 + <context-param>
54 + <param-name>WOApplicationClass</param-name>
55 + <param-value>
56 + your.package.Application
57 + </param-value>
58 + </context-param>
59 +
60 + <!-- The WebObjects Servlet that interfaces between the Servlet container
61 + world and the WebObjects world. -->
62 + <servlet>
63 + <servlet-name>WOServletAdaptor</servlet-name>
64 + <servlet-class>
65 + com.webobjects.jspservlet.WOServletAdaptor
66 + </servlet-class>
67 + <load-on-startup>5</load-on-startup>
68 + </servlet>
69 +
70 + <!-- URLs starting with 'WebObjects' use the WebObjects Servlet adaptor. -->
71 + <servlet-mapping>
72 + <servlet-name>WOServletAdaptor</servlet-name>
73 + <url-pattern>/WebObjects/*</url-pattern>
74 + </servlet-mapping>
75 +</web-app>
76 +