📄 index1.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%
session.setMaxInactiveInterval(600);
//设定最大时间间隔为5分钟;
String str=(String)session.getAttribute("count");
if(str==null){
session.setAttribute("count","ok");
}else{
if(session.isNew()) {
//判断session对象是否失效,
response.sendRedirect("errors.jsp");
}
int count=0;
if(application.getAttribute("counters")==null){
//当页面第一次被访问时,application对象的指定的属性是不存在的;
//判断页面是否是第一次本访问;
application.setAttribute("counters","1");
out.print("<script language='javascript'>alert('您好!您是本页面的第一位访问者!');</script>");
}else{
count=Integer.parseInt(application.getAttribute("counters").toString());
count++;
out.print("<script language='javascript'>alert('这个页面已经本访问过"+count+"次了!');</script>");
application.setAttribute("counters",new Integer(count));
}
}
%>
<html>
<head>
<title>首页</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel=stylesheet href="G.CSS" type=text/css>
</head>
<body>
<table width="460" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="216"> <table width="280" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom" >
<td height="18" colspan="3" background="IMAGE/s_box_name.gif"><font color=#006699> </font> </td>
</tr>
<TR>
<TD width=1 bgColor=#999999 ></TD>
<TD width="278" > <table width="94%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="49%" rowspan="6"> <a href="#" target="_blank"><img src="IMAGE/PEQ.gif" alt="本光碟图库适用于各行各业,内容包罗万象,琳琅满目,无论是专业美术设计人员,或是一般上班族,皆可轻松使用制作海报、简介、贺卡、E-MALL等。让您的作品成为独一无二!" width="80" height="121" border="0" align="middle" ></a> </td>
<td width="51%"><font color=#006699> 超级边框王2002(特价版) </font></td>
</tr>
<tr>
<td class=unvalid>市场价:48.00元</td>
</tr>
<tr>
<td><font color="#FF3300">会员价:20.00 元 </font></td>
</tr>
<tr>
<td><font color="#663366"> 会员可打折! </font></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td><a>
<form name="7" action="bag.jsp" method="post">
<input type="hidden" name="shop" value="48.00元">
<input type="hidden" name="price" value="48.00元">
<input name="submit2" type="submit" class="input3" value=" 购 买 " src="IMAGE/login_top.gif">
</form>
</a></td>
</tr>
</table></TD>
<TD width=1 bgColor=#999999 ></TD>
</TR>
<tr valign="top">
<td height="17" colspan="3" ><IMG height=5 src="IMAGE/box_down.gif" width=280></td>
</tr>
</table></td>
<td width="10"> </td>
<td width="237"> <table width="280" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom" >
<td height="18" colspan="3" background="IMAGE/s_box_name.gif"><font color=#006699> </font> </td>
</tr>
<TR>
<TD width=1 bgColor=#999999 ></TD>
<TD width="278" > <table width="94%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="49%" rowspan="6"> <a href="#4" target="_blank"><img src="IMAGE/EIEW.bmp" alt="更权威的中日英多专业翻译家新增49部权威辞书(全国名词委审定公布) 针对80个专业特别优化,汉化包全面更新翻译引擎全面升级,翻译质量大幅提高." width="93" height="115" border="0" align="middle" ></a> </td>
<td width="51%"><font color=#006699> 金山快译2003专业版 </font></td>
</tr>
<tr>
<td class=unvalid>市场价:60.00元</td>
</tr>
<tr>
<td><font color="#FF3300">会员价:48.00 元 </font></td>
</tr>
<tr>
<td><font color="#663366"> 特价商品! </font></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td><a>
<form name="1" action="bag.jsp" method="post">
<input name="shop" type="hidden" value="金山快译2003专业版">
<input type="hidden" name="price" value="60.00元">
<input name="submit22" type="submit" class="input3" value=" 购 买 " src="IMAGE/login_top.gif">
</form>
</a></td>
</tr>
</table></TD>
<TD width=1 bgColor=#999999 ></TD>
</TR>
<tr valign="top">
<td height="25" colspan="3" ><IMG height=5 src="IMAGE/box_down.gif" width=280></td>
</tr>
</table></td>
</tr>
</table>
<table width="460" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="216"> <table width="280" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom" >
<td height="18" colspan="3" background="IMAGE/s_box_name.gif"><font color=#006699> </font> </td>
</tr>
<TR>
<TD width=1 bgColor=#999999 ></TD>
<TD width="278" ><table width="94%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="49%" rowspan="6"> <a href="#" target="_blank"><img src="IMAGE/MER.gif" alt="智能汉化多功能环境,国内唯一一套集汉化翻译、词典、全内码转换、译后文字美化、学习应用于一体的多功能环境! " width="80" height="101" border="0" align="middle" ></a> </td>
<td width="51%"><font color=#006699> 东方快车:典藏版(双CD)(特价版) </font></td>
</tr>
<tr>
<td class=unvalid>市场价:25.00元</td>
</tr>
<tr>
<td><font color="#FF3300">会员价:10.00 元 </font></td>
</tr>
<tr>
<td><font color="#663366"> 特价商品! </font></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td><a>
<form name="2" method="post" action="bag.jsp">
<input name="shop" type="hidden" value="东方快车:典藏版(双CD)(特价版) ">
<input type="hidden" name="price" value="25.00元">
<input name="submit" type="submit" class="input3" value=" 购 买 " src="IMAGE/login_top.gif">
</form>
</a></td>
</tr>
</table></TD>
<TD width=1 bgColor=#999999 ></TD>
</TR>
<tr valign="top">
<td height="10" colspan="3" ><IMG height=5 src="IMAGE/box_down.gif" width=280></td>
</tr>
</table></td>
<td width="10"> </td>
<td width="237"> <table width="280" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom" >
<td height="18" colspan="3" background="IMAGE/s_box_name.gif"><font color=#006699> </font> </td>
</tr>
<TR>
<TD width=1 bgColor=#999999 ></TD>
<TD width="278" > <table width="94%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="49%" rowspan="6"> <a href="#" target="_blank"><img src="IMAGE/IEN.bmp" alt="4分钟查杀40G硬盘,升级最新流行病毒库,既保障系统安全,又节省大量时间。内置国际国内两套先进杀毒引擎,双重过滤分析,第... " width="80"height="121" border="0" align="middle" ></a> </td>
<td width="51%"><font color=#006699> 金山毒霸V(标准版)-公安部检测一级品 </font></td>
</tr>
<tr>
<td class=unvalid>市场价:130.00元</td>
</tr>
<tr>
<td><font color="#FF3300">会员价:75.00 元 </font></td>
</tr>
<tr>
<td><font color="#663366"> 特价商品! </font></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td height="32"><a>
<form name="3" action="bag.jsp" method="post">
<input name="shop" type="hidden" value="金山毒霸V(标准版)-公安部检测一级品">
<input type="hidden" name="price" value="130.00元">
<input name="submit23" type="submit" class="input3" value=" 购 买 " src="IMAGE/login_top.gif">
</form>
</a></td>
</tr>
</table></TD>
<TD width=1 bgColor=#999999 ></TD>
</TR>
<tr valign="top">
<td height="25" colspan="3" ><IMG height=5 src="IMAGE/box_down.gif" width=280></td>
</tr>
</table></td>
</tr>
</table>
<table width="460" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="216"> <table width="280" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom" >
<td height="18" colspan="3" background="IMAGE/s_box_name.gif"><font color=#006699> </font> </td>
</tr>
<TR>
<TD width=1 bgColor=#999999 ></TD>
<TD width="278" ><table width="94%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="49%" rowspan="6"> <a><img src="IMAGE/OEN.bmp" alt="原装配置:一电池一个充电器" width="100"height="90" border="0" align="middle" ></a> </td>
<td width="51%"><font color=#006699> 西门子XELIBRI Prod-1春 </font></td>
</tr>
<tr>
<td class=unvalid>市场价:2,500.00元</td>
</tr>
<tr>
<td><font color="#FF3300">会员价:2,200.00 元 </font></td>
</tr>
<tr>
<td><font color="#663366"> 会员可打折! </font></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td><a>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -