2
<document url="installation-ip.html">
4
<author>Stanley Santiago</author>
5
<title>The Struts Framework Project - Installation - iPlanet</title>
8
<section name="5.2 Installation" href="installation"/>
9
<section name="Installing Struts with your servlet container" href="Containers">
10
<h4 id="ipws60">iPlanet Application Server 6.0</h4>
11
<p>Service Pack 2 is recommended.</p>
12
<p>NOTE: At present, the Struts example application still uses a non-Serializable
13
servlet context attribute, and will not run in an environment that requires them,
14
like iPlanet Application Server.</p>
15
<h4 id="ipws42">iPlanet Web Server 4.2</h4>
16
<p>Here are the issues I ran into while moving my struts based application from
17
Tomcat (supports WebApps and WAR) to iWS 4.1 (does <strong>NOT</strong> support Webapps
19
<p>Webapps and WAR will be supported in iWS 5.0, as mentioned in iWS5.0 roadmap.</p>
20
<h4>Classpath issues.</h4>
21
<p>This s pretty straightforward. Since there is no notion of <code>WEB-INF/lib</code> and
22
<code>WEB-INF/classes</code> the classpath has to be explicitly set in
23
<code>$SERVER_ROOT/config/jvm12.conf</code>.</p>
24
<h4>Context relative paths</h4>
25
<p>All URLs should be visible from the document root. In my case I just created
26
a symbolic link from <code>$DOCROOT/myapp</code> to <code>webapps/myapp</code>.</p>
27
<h4>Extension mapping</h4>
28
<p>The config file <code>$SERVER_ROOT/config/rules.properties</code> has a similar mechanism
30
<p>I have this in my <code>rules.properties</code> which forwards all urls ending with "do"
31
to the servlet whose logical name is action.</p>
36
<p>Back to <a href="installation.html#Containers">Installation</a></p></section>