forwardpage.jsp
来自「图书管理系统 jsp+tomcat+sql2000」· JSP 代码 · 共 20 行
JSP
20 行
<%@ page contentType="text/html; charset=gb2312" %>
<jsp:useBean id="chinese" scope="request" class="com.tool.Chinese"/>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>跳转页面</title>
</head>
<body>
<br>
<%
String result=(String)request.getAttribute("result");
String forwardPage=(String)request.getAttribute("forwardPage");
%>
<script language='javascript' type="">alert('<%=result%>');window.location.href='<%=forwardPage%>';</script>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?