File: installation-ip.xml

package info (click to toggle)
libstruts1.2-java 1.2.9-4
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 47,756 kB
  • ctags: 29,808
  • sloc: xml: 90,345; java: 71,107; jsp: 31,692; makefile: 9; sh: 2
file content (39 lines) | stat: -rw-r--r-- 1,863 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0"?>
<document url="installation-ip.html">
<properties>
<author>Stanley Santiago</author>
<title>The Struts Framework Project - Installation - iPlanet</title>
</properties>
<body>
<section name="5.2 Installation" href="installation"/>
<section name="Installing Struts with your servlet container" href="Containers">
<h4 id="ipws60">iPlanet Application Server 6.0</h4>
<p>Service Pack 2 is recommended.</p>
<p>NOTE: At present, the Struts example application still uses a non-Serializable
servlet context attribute, and will not run in an environment that requires them,
like iPlanet Application Server.</p>
<h4 id="ipws42">iPlanet Web Server 4.2</h4>
<p>Here are the issues I ran into while moving my struts based application from
  Tomcat (supports WebApps and WAR) to iWS 4.1 (does <strong>NOT</strong> support Webapps
  and WAR). </p>
<p>Webapps and WAR will be supported in iWS 5.0, as mentioned in iWS5.0 roadmap.</p>
<h4>Classpath issues.</h4>
<p>This s pretty straightforward. Since there is no notion of <code>WEB-INF/lib</code> and
  <code>WEB-INF/classes</code> the classpath has to be explicitly set in
  <code>$SERVER_ROOT/config/jvm12.conf</code>.</p>
<h4>Context relative paths</h4>
<p>All URLs should be visible from the document root. In my case I just created
  a symbolic link from <code>$DOCROOT/myapp</code> to <code>webapps/myapp</code>.</p>
<h4>Extension mapping</h4>
<p>The config file <code>$SERVER_ROOT/config/rules.properties</code> has a similar mechanism
  as in web.xml.</p>
<p>I have this in my <code>rules.properties</code> which forwards all urls ending with &quot;do&quot;
  to the servlet whose logical name is action.</p>
<pre>####
    @.*[.]do$=action
####</pre>
<hr/>
<p>Back to <a href="installation.html#Containers">Installation</a></p></section>

</body>
</document>