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

📄 jsp-intro.xtp

📁 RESIN 3.2 最新源码
💻 XTP
字号:
<document>  <header>    <product>resin</product>    <title>Overview</title>    <description>      <p>      JSP creates a document (such as HTML) from <em>template</em>      text and scripting <em>actions</em>.  Template text is returned      verbatim to the requesting client, and actions are used to fill      in dynamic values and do things conditionallly.      </p>    </description>  </header><body><s1 title="JSP"><p>Resin supports Sun's JSP 2.0 specification.  JSP creates an HTMLpage from HTML <em>template</em> text, <em>tag libraries</em> andscripting <em>actions</em>.  Resin supports the JSTL standard taglibrary, the development of custom tag libraries, and Java as thescripting language.</p><example>&lt;% String title="Counter"; %&gt;&lt;html&gt;        &lt;head&gt;&lt;title&gt;&lt;%= title %&gt;&lt;/title&gt;&lt;/head&gt;&lt;body bgcolor='white'&gt;&lt;jsp:useBean id='counter' class='Counter' scope='application'/&gt;&lt;h1&gt;&lt;%= title %&gt;&lt;/h1&gt;Welcome, visitor &lt;%= counter.getHit() %&gt;!&lt;/body&gt;&lt;/html&gt;</example><p>JSP supports an equivalent XML syntax.  The XML has the benefit ofconsistency with the price of some extra verbosity.</p><example>&lt;jsp:scriptlet&gt;String title="Counter"; &lt;/jsp:scriptlet&gt;&lt;html&gt;&lt;head&gt;&lt;title&gt;&lt;jsp:expression&gt;title&lt;/jsp:expression&gt;&lt;/title&gt;&lt;/head&gt;&lt;body bgcolor='white'&gt;&lt;jsp:useBean id='counter' class='Counter' scope='application'/&gt;&lt;h1&gt;&lt;jsp:expression&gt; title &lt;/jsp:expression&gt;&lt;/h1&gt;Welcome, visitor &lt;jsp:expression&gt; counter.getHit()&lt;/jsp:expression&gt;!&lt;/body&gt;&lt;/html&gt;</example></s1></body></document>

⌨️ 快捷键说明

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