new419.jsp
<%--
Created by IntelliJ IDEA.
User: user1
Date: 2022/7/11
Time: 21:29
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>提交成功显示页面</title>
</head>
<body>
<%
String strname = null;
strname = request.getParameter("username");
if (strname == null)
{
strname = "";
}
byte[] b = strname.getBytes("ISO-8859-1");
strname = new String(b,"utf-8");
if(strname.equals(""))
{
response.sendRedirect("new418_Example3_7_resform.jsp");
}
else
{
out.print("用户登记信息提交成功!");
out.print(strname);
}
%>
</body>
</html>