📄 mainpage1.jsp
字号:
<%@ page language="java" import="java.sql.*"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%
String vno="";
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection c= DriverManager.getConnection("jdbc:odbc:wsm");
Statement st = c.createStatement();
ResultSet rs=st.executeQuery("select * from nums");
rs.next();
vno=rs.getString(2);
st.executeUpdate("update nums set vno=1+"+ vno);
rs.close();
c.close();
}
catch(Exception e)
{}
%>
<html>
<head>
<title></title>
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<script language="JavaScript" fptype="dynamicanimation">
<!--
function dynAnimation() {}
function clickSwapImg() {}
//-->
</script>
<script language="JavaScript1.2" fptype="dynamicanimation" src="animate.js">
</script>
</head>
<body background=g1.bmp onload="dynAnimation()">
<h3 align=right><FONT color="#ffffcc"> Visitor No : <%=vno%></font></h3>
<img border="0" src="people.JPG" width="737" height="140">       <font color="#ffffcc" size="4">                          </font>
<p><font face="Arial Black" size="2" color="#FFFFCC"><i>welcome to
WEBTECH</i></font></p><i>
<p dynamicanimation="fpAnimformatRolloverFP1" fprolloverstyle="text-decoration: color: #FFCCFF" onmouseover="rollIn(this)" onmouseout="rollOut(this)" language="Javascript1.2"><font face="Arial Black" size="3"><a style="color: #FFFFCC; text-decoration: underline" href="job1.jsp" target="_parent" dynamicanimation="fpAnimformatRolloverFP1" fprolloverstyle="text-decoration: color: #FFCCFF" onmouseover="rollIn(this)" onmouseout="rollOut(this)" language="Javascript1.2">Careers</a></font><font face="Arial Black" size="3"><font color="#FFFFCC"> </font></font><font face="Arial Black" color="#FFFFCC">
careers shows you job opportunities </font></i></p>
<p dynamicanimation="fpAnimformatRolloverFP1" fprolloverstyle="text-decoration: color: #FFCCFF" onmouseover="rollIn(this)" onmouseout="rollOut(this)" language="Javascript1.2"><i><font face="Arial Black"><a style="color: #FFFFCC; text-decoration: underline" href="Applicationform1.htm" target="_parent" dynamicanimation="fpAnimformatRolloverFP1" fprolloverstyle="text-decoration: color: #FFCCFF" onmouseover="rollIn(this)" onmouseout="rollOut(this)" language="Javascript1.2"><font size="3" face="Arial Black">Sign
Up</font></a><font color="#FFFFCC" size="3"> </font>
</font><font face="Arial Black" size="3">
</font><font face="Arial Black" color="#FFFFCC">
If new user click Sign Up to Register</font></i></p>
<p dynamicanimation="fpAnimformatRolloverFP1" fprolloverstyle="text-decoration: color: #FFCCFF" onmouseover="rollIn(this)" onmouseout="rollOut(this)" language="Javascript1.2"><font face="Arial Black" size="3"><a style="color: #FFFFCC; text-decoration: underline" href="login2.html" target="_parent" dynamicanimation="fpAnimformatRolloverFP1" fprolloverstyle="text-decoration: color: #FFCCFF" onmouseover="rollIn(this)" onmouseout="rollOut(this)" language="Javascript1.2"><i>Login</i></a><font color="#FFFFCC">
<i>If old user click Login</i></font></font></p>
<p dynamicanimation="fpAnimformatRolloverFP1" fprolloverstyle="text-decoration: color: #FFCCFF" onmouseover="rollIn(this)" onmouseout="rollOut(this)" language="Javascript1.2"><font face="Arial Black" size="3"><a style="color: #FFFFCC; text-decoration: underline" href="home.htm" target="_parent" dynamicanimation="fpAnimformatRolloverFP1" fprolloverstyle="text-decoration: color: #FFCCFF" onmouseover="rollIn(this)" onmouseout="rollOut(this)" language="Javascript1.2"><i>Home</i></a><font color="#FFFFCC">
<i>Back to Home page</i></font></font></p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -