| <?xml version="1.0"?> |
| <document url="installation-sas.html"> |
| |
| <properties> |
| <title>The Struts Framework Project - Installation - Silverstream Application Server</title> |
| </properties> |
| |
| <body> |
| <section name="5.2 Installation" href="installation"/> |
| <section name="Installing Struts with your servlet container" href="Containers"> |
| |
| <h4 id="sas">SilverStream Application Server 3.7.1 and later</h4> |
| |
| <ul> |
| <li>Start the SilverStream application server.</li> |
| <li>Create an XML deployment plan for the "<code>struts-example.war</code>" |
| application. Call the file "<code>struts-example-depl-plan.xml</code>". |
| You can use the following contents for the file</li> |
| </ul> |
| |
| <hr/> |
| |
| <p>----- cut here -----</p> |
| |
| <pre> |
| <?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> |
| </pre> |
| |
| <p>----- cut here -----</p> |
| |
| <hr/> |
| |
| <p>Create an XML deployment plan for the "<code>struts-documentation.war</code>" |
| application. Call the file "struts-documentation-depl-plan.xml". |
| You can use the following contents for the file:</p> |
| |
| <hr/> |
| <p>----- cut here -----</p> |
| |
| <pre> |
| <?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> |
| </pre> |
| |
| <p>----- cut here -----</p> |
| <hr/> |
| |
| <p>Run the following "<code>SilverCmd DeployWAR</code>" 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.</p> |
| <ul> |
| <li>SilverCmd DeployWar localhost Silvermaster struts-example.war -f struts-example-depl-plan.xml</li> |
| <li>SilverCmd DeployWar localhost Silvermaster struts-documentation.war -f struts-documentation-depl-plan.xml</li> |
| </ul> |
| <hr/> |
| <p>Back to <a href="installation.html#Containers">Installation</a></p> |
| </section> |
| |
| </body> |
| </document> |