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

📄 jsprm.htm

📁 网页开速编程学习资料 不能写英文根本无法表达资料内容 抱歉
💻 HTM
📖 第 1 页 / 共 5 页
字号:
<span style="color:#006600">&lt;body&gt;</span><br>
<span style="color:#006600">&lt;H3&gt;Today is:</span><br>
<span style="color:#006600">&lt;%= new java.util.Date() %&gt;</span><br>
<span style="color:#006600">&lt;/H3&gt;</span><br>
<span style="color:#006600">&lt;/body&gt;</span><br>
<span style="color:#006600">&lt;/html&gt;</span>.</span></p>
<p class="MsoNormal"><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:&quot;Times New Roman&quot;">将这个档案与你所有的</span><span lang="EN-US">HTML</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">与</span><span lang="EN-US">JSP</span><span style="font-family:
宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">网页放在你</span><span lang="EN-US">JSWDK</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:&quot;Times New Roman&quot;">安装目录下的网页目录里</span><span lang="EN-US">. 
</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">你可以在</span><span lang="EN-US">http://localhost:8080/sample.jsp</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">下载此页</span><span lang="EN-US">.</span><span style="font-family:
宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">当你第一次参观这个网页时,网站服务器会将</span><span lang="EN-US">JSP</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:&quot;Times New Roman&quot;">翻译成</span><span lang="EN-US">Java 
servlet</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:&quot;Times New Roman&quot;">程序代码,那你就会看到目前的日期与时间</span><span lang="EN-US">.</span></p>
<p class="MsoNormal"><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:&quot;Times New Roman&quot;">现在你已经下载,安装,并且架构好发展环境,你已经准备好要了解</span><span lang="EN-US">JSP</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:&quot;Times New Roman&quot;">语法与建立你自己的</span><span lang="EN-US">JSP</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">为主的解决之道</span><span lang="EN-US">.<br style="mso-special-character:
line-break">
<br style="mso-special-character:line-break">
</span><span lang="EN-US" style="font-size:18.0pt">JSP</span><span style="font-size:18.0pt;font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:&quot;Times New Roman&quot;">语法的基本原理</span><span lang="EN-US"><br>
</span><span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">安装之后,接下来我们要讨论</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt">JSP</span><span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:宋体;mso-ascii-font-family:
&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">的语法</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt">.</span><span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:宋体;mso-ascii-font-family:
&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">如果要偷懒,你可以</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt"><a href="http://java.sun.com/products/jsp/syntax.html"><span style="mso-bidi-font-size:
10.0pt;font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;;color:windowtext;text-decoration:none;text-underline:none">下载语法卡</span></a> 
</span><span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">而如果你不熟悉</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt"> 
Java</span><span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:宋体;mso-ascii-font-family:
&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">的程序设计,你可能会想要参考</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt">Sun</span><span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:宋体;mso-ascii-font-family:
&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">的</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt"><a href="http://java.sun.com/tutorial"><span style="mso-bidi-font-size:10.0pt;
font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;;color:windowtext;text-decoration:none;text-underline:none">使用手册</span></a>;</span><span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:宋体;mso-ascii-font-family:
&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">然而,网站建立者不应该做太多的</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt">Java</span><span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:宋体;mso-ascii-font-family:
&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">发展</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt">.</span><span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:宋体;mso-ascii-font-family:
&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">除了几个函式呼叫之外,出现在你</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt">JSP</span><span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:宋体;mso-ascii-font-family:
&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">网页上的</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt">Java</span><span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:宋体;mso-ascii-font-family:
&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">程序代码应该将它减到最少</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt">;</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">记住这点之后,现在让我们先来看看</span><span lang="EN-US" style="font-size:
10.0pt;mso-bidi-font-size:12.0pt">JSP</span><span style="font-size:10.0pt;
mso-bidi-font-size:12.0pt;font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:&quot;Times New Roman&quot;">的编译器指引与指令组件,之后我们将解释</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt"><a href="http://taiwan.cnet.com/Building/BuildTrend/jsp/ss03.html"><span style="mso-bidi-font-size:10.0pt;color:windowtext;text-decoration:none;
text-underline:none">JavaBeans</span></a></span><span style="font-size:10.0pt;
mso-bidi-font-size:12.0pt;font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:&quot;Times New Roman&quot;">与</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt"><a href="http://taiwan.cnet.com/Building/BuildTrend/jsp/ss04.html"><span style="mso-bidi-font-size:10.0pt;font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:&quot;Times New Roman&quot;;color:windowtext;text-decoration:none;
text-underline:none">内部对象</span></a>. JSP</span><span style="font-size:10.0pt;
mso-bidi-font-size:12.0pt;font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:&quot;Times New Roman&quot;">编译器指引与指令组件有五种型态</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt">.JSP 
1.0</span><span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:宋体;mso-ascii-font-family:
&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">之后,大部分的</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt">JSP</span><span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:宋体;mso-ascii-font-family:
&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">是包含在以</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt">&lt;% 
</span><span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:宋体;mso-ascii-font-family:
&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">作为开始</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt">%&gt;</span><span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:宋体;mso-ascii-font-family:
&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">作为结束的单一卷标里</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt">.</span><span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:宋体;mso-ascii-font-family:
&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">新的</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt"> 
JSP 1.1</span><span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:宋体;mso-ascii-font-family:
&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">规格已经发表了,它同时也与</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt">XML</span><span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:宋体;mso-ascii-font-family:
&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">兼容</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt">.</span></p>
<table border="0" cellspacing="0" cellpadding="0" width="75%" style="width:75.0%;
 mso-cellspacing:0cm;mso-padding-alt:1.5pt 1.5pt 1.5pt 1.5pt">
  <tr>
    <td colspan="3" style="background:#EEEEEE;padding:1.5pt 1.5pt 1.5pt 1.5pt">
      <p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:
  12.0pt">JSP</span><span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;
  font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
  &quot;Times New Roman&quot;">的编译器指引与指令组件</span><span lang="EN-US" style="font-size:10.0pt;
  mso-bidi-font-size:12.0pt"><o:p>
      </o:p>
      </span></p>
    </td>
  </tr>
  <tr>
    <td style="background:white;padding:1.5pt 1.5pt 1.5pt 1.5pt">
      <p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:
  12.0pt">&nbsp; </span><span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;
  font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
  &quot;Times New Roman&quot;">编译器指引</span><span lang="EN-US" style="font-size:10.0pt;
  mso-bidi-font-size:12.0pt"><o:p>
      </o:p>
      </span></p>
    </td>
    <td style="background:white;padding:1.5pt 1.5pt 1.5pt 1.5pt">
      <p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:
  12.0pt">&lt;%@ </span><span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;
  font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
  &quot;Times New Roman&quot;">编译器指引</span><span lang="EN-US" style="font-size:10.0pt;
  mso-bidi-font-size:12.0pt"> %&gt;<o:p>
      </o:p>
      </span></p>
    </td>
    <td style="background:white;padding:1.5pt 1.5pt 1.5pt 1.5pt">
      <p class="MsoNormal">&nbsp;<span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt"><o:p>
      </o:p>
      </span></p>
    </td>

⌨️ 快捷键说明

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