📄 perdet.jsp
字号:
<%@ page language="java" import="java.sql.*"%>
<%
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection c = DriverManager.getConnection("jdbc:odbc:wsm");
Statement st = c.createStatement();
String pwd = request.getParameter("s");
ResultSet rs=st.executeQuery("select * from registration where pwd="+pwd);
rs.next();
//while(rs.next()){
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title></title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
</head>
<body>
<form action="">
<TABLE id="Table1" style="BORDER-RIGHT: #990000 solid; BORDER-TOP: #990000 solid; LEFT: 150px; BORDER-LEFT: #990000 solid; WIDTH: 392px; BORDER-BOTTOM: #990000 solid; POSITION: absolute; TOP: 150px; BORDER-COLLAPSE: collapse; HEIGHT: 472px"
cellSpacing="1" cellPadding="1" width="392" border="0">
<TR>
<TD style="WIDTH: 120px" colSpan="2">
<DIV align="right">
<DIV style="DISPLAY: inline; FONT-WEIGHT: bold; WIDTH: 400px; COLOR: #ffffcc; HEIGHT: 38px; BACKGROUND-COLOR: #990000"
align="center" ms_positioning="FlowLayout"><FONT color="#990000"><FONT style="COLOR: #ffffcc" size="5">Application
Form</FONT> </FONT>
</DIV>
</DIV>
</TD>
</TR>
<TR>
</TR>
<TR>
<TD style="WIDTH: 176px">
<P align="right"><FONT color="#990000"><STRONG>Name*</STRONG></FONT></P>
</TD>
<TD><INPUT id="name" type="text" name="name"value=<%=rs.getString("name")%>></TD>
</TR>
<TR>
<TD style="WIDTH: 176px">
<P align="right"><FONT color="#990000"><STRONG>Date of Birth*</STRONG></FONT></P>
</TD>
<TD><INPUT id="dob" type="text" name="dob" value=<%=rs.getString("dob")%>></TD>
</TR>
<TR>
<TD style="WIDTH: 176px">
<P align="right"><FONT color="#990000"><STRONG>Qualification*</STRONG></FONT></P>
</TD>
<TD><INPUT id="quali" type="text" name="quali"value=<%=rs.getString("qualification")%>></TD>
</TR>
<TR>
<TD style="WIDTH: 176px">
<P align="right"><FONT color="#990000"><STRONG>ssc per*</STRONG></FONT></P>
</TD>
<TD><INPUT id="sscper" type="text" name="sscper"value=<%=rs.getString("sscper")%>></TD>
</TR>
<TR>
<TD style="WIDTH: 176px">
<P align="right"><FONT color="#990000"><STRONG>inter/diploma per*</STRONG></FONT></P>
</TD>
<TD><INPUT id="interper" type="text" name="interper"value=<%=rs.getString("interper")%>></TD>
</TR>
<TR>
<TD style="WIDTH: 176px">
<P align="right"><FONT color="#990000"><STRONG>Graduation per*</STRONG></FONT></P>
</TD>
<TD><INPUT id="gradper" type="text" name="gradper"value=<%=rs.getString("gradper")%>></TD>
</TR>
<TR>
<TD style="WIDTH: 176px">
<P align="right"><FONT color="#990000"><STRONG>postGraduation per*</STRONG></FONT></P>
</TD>
<TD><INPUT id="pgper" type="text" name="pgper"value=<%=rs.getString("pgper")%>></TD>
</TR>
<TR>
<TD style="WIDTH: 176px">
<P align="right"><FONT color="#990000"><STRONG>Experience</STRONG></FONT></P>
</TD>
<TD><INPUT id="expi" type="text" name="expi"value=<%=rs.getString("expi")%>></TD>
</TR>
<TR>
<TD style="WIDTH: 176px">
<P align="right"><FONT color="#990000"><STRONG>Address</STRONG></FONT></P>
</TD>
<TD><textarea style="WIDTH: 160px; HEIGHT: 120px" name="address" rows="7" cols="17"><%=rs.getString("address")%></textarea></TD>
</TR>
<TR>
<TD style="WIDTH: 176px">
<P align="right"><FONT color="#990000"><STRONG>Telephone</STRONG></FONT></P>
</TD>
<TD><INPUT id="phone" type="text" name="phone" value=<%=rs.getString("phone")%>></TD>
</TR>
<TR>
<TD style="WIDTH: 176px">
<P align="right"><FONT color="#990000"><STRONG>Email id*</STRONG></FONT></P>
</TD>
<TD><INPUT id="email" type="text" name="email" value=<%=rs.getString("email")%>></TD>
</TR>
<TR>
<TD style="WIDTH: 176px">
<P align="right"><FONT color="#990000"><STRONG>City</STRONG></FONT></P>
</TD>
<TD><INPUT id="city" type="text" name="city" value=<%=rs.getString("city")%>></TD>
</TR>
<TR>
<TD style="WIDTH: 176px">
<P align="right"><FONT color="#990000"><STRONG>State</STRONG></FONT></P>
</TD>
<TD><INPUT id="state" type="text" name="state"value=<%=rs.getString("state")%>></TD>
</TR>
<TR>
<TD style="WIDTH: 176px; HEIGHT: 30px">
<P align="right"><FONT color="#990000"><STRONG>Country</STRONG></FONT></P>
</TD>
<TD style="HEIGHT: 30px"><INPUT id="country" type="text" name="country"value=<%=rs.getString("country")%>></TD>
</TR>
<TR>
<TD style="BORDER-TOP-WIDTH: thin; FONT-WEIGHT: bold; BORDER-LEFT-WIDTH: thin; BORDER-LEFT-COLOR: #ffffcc; BORDER-BOTTOM-WIDTH: thin; BORDER-BOTTOM-COLOR: #ffffcc; WIDTH: 120px; COLOR: #ffffcc; BORDER-TOP-COLOR: #ffffcc; BACKGROUND-COLOR: #990000; BORDER-RIGHT-WIDTH: thin; BORDER-RIGHT-COLOR: #ffffcc"
colSpan="2"><FONT color="#990000"><STRONG>
<P align="right"><INPUT id="Submit1" type="submit" value="Submit" name="Submit1" style="BORDER-RIGHT: #ffffcc thin solid; BORDER-TOP: #ffffcc thin solid; FONT-WEIGHT: bold; BORDER-LEFT: #ffffcc thin solid; COLOR: #ffffcc; BORDER-BOTTOM: #ffffcc thin solid; BACKGROUND-COLOR: #990000">
<a href="adlogin.html"><FONT color="#ffffcc">Back</FONT> </a>
</STRONG></FONT></P>
</TD><tr><td><input type=hidden name="pass" value=<%=pwd%> ></tr>
</TR>
</TABLE>
<DIV align="right"> </DIV>
</form>
</body>
</html>
<%
//}
}catch(Exception e )
{
out.println(""+e);
}
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -