jspstructure.jsp

来自「提供 精通Java Web动态图表编程 一书的源代码, 大家赶快下载呀」· JSP 代码 · 共 36 行

JSP
36
字号
<!--
	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 + =
减小字号Ctrl + -
显示快捷键?