Home >
Back-end > Img SRC="a written servlet> authentication code is generated by the servlet written code and
Img SRC="a written servlet> authentication code is generated by the servlet written code and
Attached source:
O great god
<% @ page pageEncoding="utf-8" % & gt;
<meta HTTP - equiv="content-type" Content="text/HTML. Charset=utf-8 "/& gt;
Registration page & lt;/title>
<style type="text/CSS" & gt;
The form {
text-align: center; The internal text center * * let div/
Background - color: RGB (247255243,0.6);
Border - the radius: 20 px;
Width: 320 px;
Height: 250 px;
margin: auto;
Padding: 30 px 1 px 20 px;
top: 0;
left: 0;
right: 0;
bottom: 0;
position: absolute;
}
A {
text-decoration: none;
}
A: hover, a: active {
text-decoration: underline;
}
Body {
Background: url (" https://assets.wallpapersin4k.org/uploads/2017/04/Night-Nature-HD-Wallpapers-17.jpg ") no - repeat center center fixed;
Background - size: 100%;
}
</style>
<body>
<%
Boolean status=(Boolean) request. GetAttribute (" status ");
String MSG=(String) request. GetAttribute (" MSG ");
If (the status!=null & & Status==Boolean. FALSE) {
Out.println (" & lt; Div style="color: red; The font - size: 0.8 em '& gt;" "+ MSG + & lt;/div>" );
}
% & gt;
Enter account: & lt; Input type="text" name="account" & gt;
Enter the password: & lt; Input type="password" name="pass" & gt;
Enter the password: & lt; Input type="password" name="pass2 & gt;"
Enter the user name: & lt; Input type="text" name="name" & gt;
Please enter the verification code: & lt; Input type="text" name="authNum & gt;"
& nbsp; & nbsp;