score.jsp

来自「有简单的网上书店需求及设计流程」· JSP 代码 · 共 23 行

JSP
23
字号
<%@ page language="java" contentType="text/html; charset=GBK"
	pageEncoding="GBK"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title>score</title>
</head>
<body background="/bookshop/image/purpleflower.bmp">
<h2>您的积分为
<font color="green">${requestScope.score}. </font>
         <s:set	value="#request['isMaxScore']" name="s" id="ism"></s:set> 
         <s:if	test="ism">
          恭喜您,您的积分已经是最大的拉,您将拥有更新公告兰的权利.
         </s:if></h2>
         <s:else>        
               <h2> 离最大积分${requestScope.maxScore }还差
                         <font color="red">${requestScope.maxScore-requestScope.score}</font>分</h2>
         </s:else>
         <br/>         
</body>
</html>

⌨️ 快捷键说明

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