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

📄 success_stdtags.jsp

📁 使用Servlet和JSP进行Web组件开发
💻 JSP
字号:
<%@ page session="false" %>

<%
    // Set page title
    String pageTitle = "Duke's Soccer League: Add League Success";
%>

<%-- Retrieve the 'league' from the request-scope --%>
<jsp:useBean id="league" scope="request" type="sl314.model.League" />

<%-- Generate the HTML response --%>
<html>
<head>
  <title><%= pageTitle %></title>
</head>
<body bgcolor='white'>

<%-- Generate page heading --%>
<!-- Page Heading -->
<table border='1' cellpadding='5' cellspacing='0' width='400'>
<tr bgcolor='#CCCCFF' align='center' valign='center' height='20'>
  <td><h3><%= pageTitle %></h3></td>
</tr>
</table>

<%-- Generate main body --%>
<p>
Your request to add the <i><jsp:getProperty name="league" property="title" /></i>
league was successful.
</p>

</body>
</html>

⌨️ 快捷键说明

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