You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by ma...@apache.org on 2001/11/02 06:31:58 UTC

cvs commit: jakarta-struts/doc installation-jetty.xml installation-1.0.xml installation.xml

martinc     01/11/01 21:31:58

  Modified:    doc      installation-1.0.xml installation.xml
  Added:       doc      installation-jetty.xml
  Log:
  - Added installation instructions for Jetty.
  - Corrected taglib references from struts-form to struts-html.
  - Miscellaneous corrections to the installation page.
  
  Submitted by: Paul Runyan, Martin Cooper
  
  Revision  Changes    Path
  1.2       +9 -7      jakarta-struts/doc/installation-1.0.xml
  
  Index: installation-1.0.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/doc/installation-1.0.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- installation-1.0.xml	2001/10/06 17:36:28	1.1
  +++ installation-1.0.xml	2001/11/02 05:31:58	1.2
  @@ -154,8 +154,8 @@
   </taglib>
   
   <taglib>
  -  <taglib-uri>/WEB-INF/struts-form.tld</taglib-uri>
  -  <taglib-location>/WEB-INF/struts-form.tld</taglib-location>
  +  <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
  +  <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
   </taglib>
   
   <taglib>
  @@ -180,7 +180,7 @@
       </ul>
   
   <pre>&lt;@ taglib uri="/WEB-INF/struts-bean.tld" prefix="struts-bean" %&gt;
  -&lt;@ taglib uri="/WEB-INF/struts-form.tld" prefix="struts-form" %&gt;
  +&lt;@ taglib uri="/WEB-INF/struts-html.tld" prefix="struts-html" %&gt;
   &lt;@ taglib uri="/WEB-INF/struts-logic.tld" prefix="struts-logic" %&gt;
   &lt;@ taglib uri="/WEB-INF/struts-template.tld" prefix="struts-template" %&gt;
   </pre>
  @@ -216,15 +216,17 @@
     object in the Struts-Example application is not compatible with this container.</li>
     <li>iPlanet Web Server - <a href="installation-ip.html">Additional steps required.</a></li>
     <li>iPortal Application Server - <a href="installation-ipas.html">Additional steps required.</a></li>
  -  <li>JRUN - <a href="installation-jrun.html">Additional steps required.</a></li>
  +  <li>Jetty - <a href="installation-jetty.html">Additional steps required.</a></li>
  +  <li>JRun - <a href="installation-jrun.html">Additional steps required.</a></li>
     <li>Orion Application Server - <a href="installation-oas.html">Additional steps 
       required.</a></li>
  -  <li>Resin 2.1+ "standalone" - No additional steps required.</li>
  -  <li>Silverstream - - <a href="installation-sas.html">Additional steps required.</a></li>
  +  <li>Resin 1.2+ "standalone" - No additional steps required.</li>
  +  <li>SilverStream 3.7.1 and later - <a href="installation-sas.html">Additional steps required.</a></li>
     <li>Tomcat 3.1 and prior - Not recommended. Use Tomcat 3.2.1 or later.</li>
  -  <li>Tomcat 3.2.1+ "standalone" - No additional steps required.</li>
     <li>Tomcat 3.2.1 with Apache - <a href="installation-tc.html">Additional steps 
       required.</a></li>
  +  <li>Tomcat 3.2.1+ "standalone" - No additional steps required.</li>
  +  <li>Tomcat 4.0 - No additional steps required.</li>
     <li>Weblogic - <a href="installation-wls.html">Additional steps required.</a></li>
     <li>WebLogic 6.0+ - No additional steps required.</li>
     <li>WebSphere - <a href="installation-was352.html">Additional steps required.</a></li>
  
  
  
  1.13      +4 -3      jakarta-struts/doc/installation.xml
  
  Index: installation.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/doc/installation.xml,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- installation.xml	2001/09/18 01:39:51	1.12
  +++ installation.xml	2001/11/02 05:31:58	1.13
  @@ -243,16 +243,17 @@
     object in the Struts-Example application is not compatible with this container.</li>
     <li>iPlanet Web Server - <a href="installation-ip.html">Additional steps required.</a></li>
     <li>iPortal Application Server - <a href="installation-ipas.html">Additional steps required.</a></li>
  -  <li>JRUN - <a href="installation-jrun.html">Additional steps required.</a></li>
  +  <li>Jetty - <a href="installation-jetty.html">Additional steps required.</a></li>
  +  <li>JRun - <a href="installation-jrun.html">Additional steps required.</a></li>
     <li>Orion Application Server - <a href="installation-oas.html">Additional steps 
       required.</a></li>
     <li>Resin 1.2+ "standalone" - No additional steps required.</li>
     <li>SilverStream 3.7.1 and later - <a href="installation-sas.html">Additional steps required.</a></li>
  -  <li>Tomcat 4.0 final - No additional steps required.</li>
  +  <li>Tomcat 3.1 and prior - Not recommended. Use Tomcat 3.2.1 or later.</li>
     <li>Tomcat 3.2.1 with Apache - <a href="installation-tc.html">Additional steps 
       required.</a></li>
     <li>Tomcat 3.2.1+ "standalone" - No additional steps required.</li>
  -  <li>Tomcat 3.1 and prior - Not recommended. Use Tomcat 3.2.1 or later.</li>
  +  <li>Tomcat 4.0 - No additional steps required.</li>
     <li>Weblogic - <a href="installation-wls.html">Additional steps required.</a></li>
     <li>WebLogic 6.0+ - No additional steps required.</li>
     <li>WebSphere - <a href="installation-was352.html">Additional steps required.</a></li>
  
  
  
  1.1                  jakarta-struts/doc/installation-jetty.xml
  
  Index: installation-jetty.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <document url="./installation-ip.xml">
  
  <properties>
    <author>Paul Runyan</author> 
    <title>The Struts Framework Project - Installation - Jetty</title>
  </properties>
  
  <body>
  <section name="Installing Struts with your servlet container" href="Containers"> 
  
  <h3><a name="jetty">Jetty Java HTTP Servlet Server</a></h3>
  
  <p>
  Jetty is a small, pure-Java, open source HTTP server that supports the
  2.2 Servlet spec and JSP 1.1. Jetty can be downloaded from
  <a href="http://www.mortbay.com/jetty">http://www.mortbay.com/jetty</a>.
  </p>
  
  <p>
  Struts WAR files run nearly straight out of the box when placed
  underneath Jetty's webapps directory. The one additional step needed
  is to add an entry for each WAR file to the Jetty server configuration
  file in order to map the appropriate request paths to the added Struts
  web applications (using "&lt;Call name="addWebApplication"&gt;...").
  </p>
  
  <p>
  So for example, if you have copied the WAR files that come with the
  Struts binary distribution into a subdirectory of the
  "%JETTY_HOME%/webapps" called "%JETTY_HOME%/webapps/struts" so that
  you have:
  </p>
  
  <pre>
  - %JETTY_HOME%/webapps/struts/struts-documentation.war
  - %JETTY_HOME%/webapps/struts/struts-example.war
  - %JETTY_HOME%/webapps/struts/struts-exercise-taglib.war
  - %JETTY_HOME%/webapps/struts/struts-template.war
  - %JETTY_HOME%/webapps/struts/struts-upload.war
  - %JETTY_HOME%/webapps/struts/struts-blank.war
  </pre>
  
  <p>
  And you want to run Jetty using the demo.xml configuration file that
  comes with Jetty, just add the following block to demo.xml, anywhere
  after the Listeners are declared.
  </p>
  
  <pre>
  &lt;!-- Jetty config for Struts BEGIN --&gt;
  
    &lt;Call name="addWebApplication"&gt;
      &lt;Arg&gt;/struts/struts-documentation/*&lt;/Arg&gt;
      &lt;Arg&gt;&lt;SystemProperty name="jetty.home"
          default="."/&gt;/webapps/struts/struts-documentation.war&lt;/Arg&gt;
      &lt;Arg&gt;&lt;SystemProperty name="jetty.home"
          default="."/&gt;/etc/webdefault.xml&lt;/Arg&gt;
      &lt;Arg type="boolean"&gt;false&lt;/Arg&gt; &lt;!-- if true,
          expand war in temp dir --&gt;
    &lt;/Call&gt;
  
    &lt;Call name="addWebApplication"&gt;
      &lt;Arg&gt;/struts/struts-example/*&lt;/Arg&gt;
      &lt;Arg&gt;&lt;SystemProperty name="jetty.home"
          default="."/&gt;/webapps/struts/struts-example.war&lt;/Arg&gt;
      &lt;Arg&gt;&lt;SystemProperty name="jetty.home"
          default="."/&gt;/etc/webdefault.xml&lt;/Arg&gt;
      &lt;Arg type="boolean"&gt;true&lt;/Arg&gt; &lt;!-- if true,
          expand war in temp dir --&gt;
    &lt;/Call&gt;
  
    &lt;Call name="addWebApplication"&gt;
      &lt;Arg&gt;/struts/struts-exercise-taglib/*&lt;/Arg&gt;
      &lt;Arg&gt;&lt;SystemProperty name="jetty.home"
          default="."/&gt;/webapps/struts/struts-exercise-taglib.war&lt;/Arg&gt;
      &lt;Arg&gt;&lt;SystemProperty name="jetty.home"
          default="."/&gt;/etc/webdefault.xml&lt;/Arg&gt;
      &lt;Arg type="boolean"&gt;false&lt;/Arg&gt; &lt;!-- if true,
          expand war in temp dir --&gt;
    &lt;/Call&gt;
  
    &lt;Call name="addWebApplication"&gt;
      &lt;Arg&gt;/struts/struts-template/*&lt;/Arg&gt;
      &lt;Arg&gt;&lt;SystemProperty name="jetty.home"
          default="."/&gt;/webapps/struts/struts-template.war&lt;/Arg&gt;
      &lt;Arg&gt;&lt;SystemProperty name="jetty.home"
          default="."/&gt;/etc/webdefault.xml&lt;/Arg&gt;
      &lt;Arg type="boolean"&gt;true&lt;/Arg&gt; &lt;!-- if true,
          expand war in temp dir --&gt;
    &lt;/Call&gt;
  
    &lt;Call name="addWebApplication"&gt;
      &lt;Arg&gt;/struts/struts-upload/*&lt;/Arg&gt;
      &lt;Arg&gt;&lt;SystemProperty name="jetty.home"
          default="."/&gt;/webapps/struts/struts-upload.war&lt;/Arg&gt;
      &lt;Arg&gt;&lt;SystemProperty name="jetty.home"
          default="."/&gt;/etc/webdefault.xml&lt;/Arg&gt;
      &lt;Arg type="boolean"&gt;true&lt;/Arg&gt; &lt;!-- if true,
          expand war in temp dir --&gt;
    &lt;/Call&gt;
  
    &lt;Call name="addWebApplication"&gt;
      &lt;Arg&gt;/struts/struts-blank/*&lt;/Arg&gt;
      &lt;Arg&gt;&lt;SystemProperty name="jetty.home"
          default="."/&gt;/webapps/struts/struts-blank.war&lt;/Arg&gt;
      &lt;Arg&gt;&lt;SystemProperty name="jetty.home"
          default="."/&gt;/etc/webdefault.xml&lt;/Arg&gt;
      &lt;Arg type="boolean"&gt;true&lt;/Arg&gt; &lt;!-- if true,
          expand war in temp dir --&gt;
    &lt;/Call&gt;
  
  &lt;!-- Jetty config for Struts END --&gt;
  </pre>
  
  <hr/>
  <ul>
    <li>Author: Paul Runyan</li>
  </ul>
  <hr/>
  <p>Back to <a href="installation.html#Containers">Installation</a></p>
  
  </section> 
  </body>
  </document>
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>