📄 response7.jsp
字号:
<!--response7.jsp-->
<%@page contentType="text/html;charset=gb2312"%>
<%!
public String codeString(String s){
String str=s;
try{
byte b[]=str.getBytes("ISO-8859-1");
str=new String (b);
return str;
}catch(Exception e){
return "error";
}
}
%>
<html>
<head>
<title>response7</title>
</head>
<body>
<%
String str=request.getParameter("radio");
//str=codeString(str);
if(str==null)str="";
if(str.equals("a"))
response.sendRedirect("form1.jsp");
else if(str.equals("c"))
{}
else
response.sendError(500,"这个是我定义的错误消息!");
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -