##### Struts 1

- Welcome
- Learning
- Roadmap
- Releases

##### Documentation

- User Guide
- FAQs and HOWTOs
- Release Notes
- Javadoc
- DTDDoc

##### Support

- User Mailing List
- Issue Tracker (JIRA)
- Wiki Pages

##### Components

- Struts Apps
- Struts EL
- Struts Extras
- Struts Faces
- Struts Scripting
- Struts Taglib
- Struts Tiles

##### Project Documentation

- Project Information
- Project Reports

## 6.2 Installation

### Installing Struts with your servlet container

#### Novell ExteNd Application Server 4.0

Using the ExteNd Workbench to deploy a WAR to the Novell ExteNd application server:

- Start the Novell ExteNd application server.
- Using the ExteNd Workbench, create a new project:
  1. File > New Project
  2. Select Deploy-Only and click `OK`
  3. Under Archive File select the appropriate Struts WAR file
  4. Indicate the type of file (i.e. WAR 1.2)
  5. Give the Deploy-Only project a name (i.e. struts-example)
  6. Give the Deploy-Only project a location (i.e. `D:\Struts` )
  7. Click `Next`
  8. Review the material to be sure everything is correct
  9. Click `Finish`
- Setting up a deployment plan and server profile:
  1. Right click on the project icon you just created and select Deployment Plan
  2. Select `OK` when asked to create a new deployment plan
  3. Save the deployment plan
  4. Create a server profile: Projects > Deployment Settings
  5. Click on the Server Profiles tab
  6. Select a server profile and click `OK`
- Deploy the project:
  1. Project > Deploy Archive

Deploying a WAR from a command line using SilverCmd:

- Start the SilverStream application server.
- Create an XML deployment plan for the `struts-example.war` application.
- Call the file `struts-example-depl-plan.xml` . You can use the following contents for the file:

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE warJarOptions PUBLIC
        "-//Silverstream Software, Inc.//DTD J2EE WAR Deployment Plan//EN"
        "deploy_war.dtd">
      <warJarOptions>
        <warJar>
          <warJarName>struts-example.war</warJarName>
          <isEnabled>true</isEnabled>
          <urls>
            <el>struts-example</el>
          </urls>
        </warJar>
      </warJarOptions>

- Create an XML deployment plan for the `struts-documentation.war` application.
- Call the file `struts-documentation-depl-plan.xml` . You can use the following contents for the file:

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE warJarOptions PUBLIC
        "-//Silverstream Software, Inc.//DTD J2EE WAR Deployment Plan//EN"
        "deploy_war.dtd">
      <warJarOptions>
        <warJar>
          <warJarName>struts-documentation.war</warJarName>
          <isEnabled>true</isEnabled>
          <urls>
            <el>struts-documentation</el>
          </urls>
        </warJar>
      </warJarOptions>

- Run the following "SilverCmd DeployWAR" commands to deploy the applications. You can change 'localhost' to whatever server you are deploying to. You can change 'Silvermaster' to whatever database you are deploying to.

      SilverCmd DeployWar localhost Silvermaster struts-example.war
        -f struts-example-depl-plan.xml
      SilverCmd DeployWar localhost Silvermaster struts-documentation.war
        -f struts-documentation-depl-plan.xml

Back to Installation