📄 jspstructure.jsp
字号:
<!--
Fig. 6.01_01: JSPStructure.jsp
功能: JSP文件结构
-->
<%@ page language="java" contentType="text/html;charset=GB2312"%>
<HTML>
<HEAD>
<TITLE> JSP文件结构 </TITLE>
</HEAD>
<BODY>
<%
int a = 55, b = 45
%>
整数: 55 + 45 的结果是: <%= a + b%>
<BR><BR>
整数: 55 - 45 的结果是: <%= a - b%>
</BODY>
</HTML>
<%
/**************************************************************************
* (C) Copyright 2004-2005 by Jingkui Zhong(钟京馗) and Huan Tang(唐桓). *
* All Rights Reserved. *
* *
* DISCLAIMER: The authors of this code have used their *
* best efforts in preparing the code. These efforts include the *
* development, research, and testing of the theories and programs *
* to determine their effectiveness. The authors and publisher make *
* no warranty of any kind, expressed or implied, with regard to these *
* programs or to the documentation contained in these codes. The authors *
* shall not be liable in any event for incidental or consequential *
* damages in connection with, or arising out of, the furnishing, *
* performance, or use of these programs. *
**************************************************************************/
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -