chooser.jsp
来自「网上书店jsp开发 购物车 收藏 使用servlet 是小型项目 仅供」· JSP 代码 · 共 20 行
JSP
20 行
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!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=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<%
String chooser = request.getParameter("radiobutton");
if(chooser.equals("user")){
response.sendRedirect("user.jsp");
}else{
response.sendRedirect("administrator.jsp");
}
%>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?