Load instantiation
initialization
Processing load request
destroy
Realization select Interface
Inheritance jencricselect
Inheritance httpselect
.request object receives information
Background Gets the value of the front end:
request.getParameter ( "error"); quotation marks are the property name
response object response information
Redirect:
info = "user name or password is incorrect!";
/ * UTF-8 encoding statement format into a response formatted URL code * /
info =new String(info.getBytes("UTF-8"),"ISO-8859-1");
/ * The information in response to outgoing * /
/ * Redirect, close Servelt page, page and re-enter the client information passed through the URL passed in the past * /
response.sendRedirect("/newsDetail.jsp?error="+info);
Forward:
/ * Set the requested attributes (attribute name and attribute value) * /
request.setAttribute("info",info);
/ * * URL information forwarded back /
request.getRequestDispatcher("/login.jsp").forward(request,response);
${ }
To see whether it is null
${empty list}