⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 installation-sas.html

📁 struts api,学习使用struts必备的文档
💻 HTML
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>The Struts Framework Project - Installation - Silverstream Application Server</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="John Rousseau" name="author" />
<link href="../struts.css" type="text/css" rel="stylesheet" />
</head>
<body>
<div id="heading">
<a href="http://apache.org/">
<img id="asf_logo_wide" alt="The Apache Project" src="../images/asf_logo_wide.gif" />
</a>
<a href="http://struts.apache.org/">
<img id="struts-logo" alt="Struts Framework" src="../images/struts.gif" />
</a>
</div>
<!--end heading-->
<div id="content">
<div id="menu">

    
    
    <p>User Guide</p>
<ul>
      <li>
<a href="index.html">Table of Contents</a>
</li>
      <li>
<a href="preface.html">Preface</a>
</li>
      <li>
<a href="introduction.html">Introduction</a>
</li>
      <li>
<a href="building_model.html">Model Components</a>
</li>
      <li>
<a href="building_view.html">View Components</a>
</li>
      <li>
<a href="building_controller.html">Controller Components</a>
</li>
      <li>
<a href="configuration.html">Configuration</a>
</li>
      <li>
<a href="release-notes.html">Release Notes</a>
</li>
      <li>
<a href="installation.html">Installation</a>
</li>
    </ul>

    <p>Developer Guides</p>
<ul>
        <li>
<a href="dev_bean.html">Bean Tags</a>
</li>
        <li>
<a href="dev_html.html">HTML Tags</a>
</li>
        <li>
<a href="dev_logic.html">Logic Tags</a>
</li>
        <li>
<a href="dev_nested.html">Nested Tags</a>
</li>
        <li>
<a href="dev_tiles.html">Tiles Tags</a>
</li>
        <li>
<a href="dev_util.html">Utilities</a>
</li>
        <li>
<a href="dev_validator.html">Validator</a>
</li>
    </ul>

    <p>Quick Links</p>
<ul>
        <li>
<a href="../index.html">Welcome</a>
</li>
        <li>
<a href="index.html">User and Developer Guides *</a>
</li>
        <li>
<a href="../faqs/index.html">FAQs and HowTos</a>
</li>
    </ul>

<div class="authors">
<p>
<strong>Contributors</strong>
</p>
<ul>
<li>John Rousseau</li>
</ul>
</div>
</div>
<!--end menu-->
<div id="main">
<h1 id="installation">5.2 Installation</h1>
<h2 id="Containers">Installing Struts with your servlet container</h2>
<div class="indent">

<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>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE warJarOptions PUBLIC
  "-//SilverStream Software, Inc.//DTD J2EE WAR Deployment Plan//EN"
  "deploy_war.dtd"&gt;
&lt;warJarOptions&gt;
&lt;warJar&gt;
&lt;warJarName&gt;struts-example.war&lt;/warJarName&gt;
&lt;isEnabled&gt;true&lt;/isEnabled&gt;
&lt;urls&gt;&lt;el&gt;struts-example&lt;/el&gt;&lt;/urls&gt;
&lt;/warJar&gt;
&lt;/warJarOptions&gt;
</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>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE warJarOptions PUBLIC
  "-//SilverStream Software, Inc.//DTD J2EE WAR Deployment Plan//EN"
  "deploy_war.dtd"&gt;
&lt;warJarOptions&gt;
&lt;warJar&gt;
&lt;warJarName&gt;struts-documentation.war&lt;/warJarName&gt;
&lt;isEnabled&gt;true&lt;/isEnabled&gt;
&lt;urls&gt;&lt;el&gt;struts-documentation&lt;/el&gt;&lt;/urls&gt;
&lt;/warJar&gt;
&lt;/warJarOptions&gt;
</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 />
  <ul>
<li>Author: John Rousseau</li>
</ul>
  <hr />
  <p>Back to <a href="installation.html#Containers">Installation</a>
</p>
</div>
</div>
<!--end main-->
</div>
<!--end content-->
<div id="footer">
<img id="powered-logo" alt="Powered by Struts" src="../images/struts-power.gif" />
        Copyright (c) 2000-2005, The Apache Software Foundation <span class="noprint">- 
        <a href="http://wiki.apache.org/struts/StrutsDocComments">Comments?</a>
</span>
</div>
<!--end footer-->
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -