📄 index.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Welcome - Apache Struts - Scripts BSF Scripting</title><style type="text/css" media="all"> @import url("./style/maven-base.css"); @import url("./style/maven-theme.css");</style><link rel="stylesheet" href="./style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://www.apache.org/" id="organizationLogo"><img alt="The Apache Software Foundation" src="http://www.apache.org/images/asf-logo.gif"></img></a><a href="http://struts.apache.org/struts-scripting" id="projectLogo"><img alt="Struts Scripting" src="http://struts.apache.org/images/struts.gif"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">Last published: 17 December 2005 <span class="separator">|</span>燚oc for 1.0.1 </div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuStruts_BSF_Scripting"><h5>Struts BSF Scripting</h5><ul><li class="none"><a href="index.html">Welcome</a></li><li class="none"><a href="index.html#features">Features</a></li><li class="none"><a href="index.html#documentation">Documentation</a></li><li class="none"><a href="user-guide.html">User Guide</a></li><li class="none"><a href="source-guide.html">Source Guide</a></li><li class="none"><a href="http://struts.apache.org/acquiring.html" class="externalLink" title="External Link">Download</a></li></ul></div><div id="menuQuick_Links"><h5>Quick Links</h5><ul><li class="none"><a href="../index.html">Apache Struts Home</a></li></ul></div><div id="menuProject_Documentation"><h5>Project Documentation</h5><ul><li class="none"><strong><a href="index.html">About</a></strong></li><li class="collapsed"><a href="project-info.html">Project Info</a></li><li class="collapsed"><a href="maven-reports.html">Project Reports</a></li><li class="none"><a href="http://maven.apache.org/development-process.html" class="externalLink" title="External Link">Development Process</a></li></ul></div><div id="legend"><h5>Legend</h5><ul><li class="externalLink">External Link</li><li class="newWindow">Opens in a new window</li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="./images/logos/maven-button-1.png"></img></a></div></div><div id="bodyColumn"><div class="contentBox"><div class="section"><a name="Struts_Scripting"></a><h2>Struts Scripting</h2> <a name="overview"></a> <p>This project allows Struts Actions to be written in the scripting language of one's choice rather than as Java classes. It uses the <a href="http://jakarta.apache.org/bsf" class="externalLink" title="External Link">Bean Scripting Framework</a> to allow scripts to be written in any language BSF supports like Perl, Python, Ruby, JavaScript, Groovy, and even VBScript. </p> <p> Struts Scripting allows an application to be developed rapidly with the quick development cycle (edit file -> refresh browser) that one would expect in a scripting environment. Furthermore, it enables other non-Java trained members of a development team, such as web designers who may have a scripting background, to be more involved, leaving the Java developers to create the reusable services the Struts actions will interact with. Finally, when used with Java-like languages such as <a href="http://groovy.codehaus.org" class="externalLink" title="External Link">Groovy</a>, applications can quickly be stood up, then later the Struts action scripts can be migrated to Java for better performance. </p> <div class="subsection"><a name="Features"></a><h3>Features</h3> <a name="features"></a> <ul> <li>Implement Actions with JavaScript, Groovy, etc.</li> <li>Supports all BSF languages</li> <li>Scripts cached in memory on first use</li> <li>Ability to pass parameters to script through Struts config</li> </ul> </div> <div class="subsection"><a name="Documentation"></a><h3>Documentation</h3> <a name="documentation"></a> <ul> <li><a href="user-guide.html">User Guide</a> - Covers installation and usage</li> <li><a href="source-guide.html">Source Code Guide</a> - Covers the source layout and how to build Struts Scripting</li> <li><a href="apidocs/index.html">Javadocs</a> - Includes <a href="apidocs/org/apache/struts/scripting/StrutsInfo.html"><code>struts</code></a> variable and <a href="apidocs/org/apache/struts/scripting/BSFManagerFilter.html">Filter</a> API's.</li> <li><a href="http://svn.apache.org/viewcvs.cgi/struts/scripting/trunk/src/struts-example/" class="externalLink" title="External Link">Struts Mailreader</a> - A rewrite of the Struts 1.2.8 Mailreader example application using Struts Scripting and <a href="http://groovy.codehaus.org" class="externalLink" title="External Link">Groovy</a></li> </ul> </div> </div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -