⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ptt.jsp

📁 一个练习JAVA的例子程序 一个练习JAVA的例子程序
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" %><%@ page import="jasp.buildin.*, jasp.vbs.*, jasp.util.*" %><%@ page extends="jasp.servlet.JspBase" %><%  try {    jspinit(request,response,application,out,"jasp0");%><%     Session.setCodePage(936);    variant username = new variant();%><%@ include file="../include/connect.jsp" %><%    username.set(checkstr(new variant(Request.QueryString("username"))));    if (username.equals(new variant(""))) {        Response.Redirect("../default.jsp");    }    if (Session.getItem("username").unequals(username)) {        Response.Write("你没有权限!");        Response.Redirect("../default.jsp");        Response.End();    }%><html><head><META http-equiv="Content-Type" content="text/html; charset=gb2312"><SCRIPT LANGUAGE="JavaScript"><!--     function ResumeError() {    return true;}window.onerror = ResumeError;// --></SCRIPT><script language="javascript">var urll="../ptt/ptt.jsp?url=border/1.png";chose=function(imgid,buttonid,file){	document.getElementById(imgid).src="../ptt/border/"+file;	urll="../ptt/ptt.jsp?url=border/"+file;	document.getElementById(buttonid).href=urll;	}</script><LINK href="../CSS/Hompy/hompy.css" type=text/css rel=stylesheet><title></title></head><body  oncontextmenu="window.event.returnValue=false" onselectstart="return false"><TABLE cellSpacing=0 cellPadding=0 width=473 border=0>  <TBODY>    <TR>       <TD height=29 align="center"><table width="97%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="12%" class="orange2_b">在线拍贴</td>            <td width="88%" style="PADDING-RIGHT: 10px">&gt;选择相框</td>		  </tr>        </table> </TD>    </TR>    <TR>       <TD height=145 align="center" valign="top" style="BORDER-TOP: #cecfce 1px dotted; BORDER-BOTTOM: #cecfce 1px dotted">         <table border="0" cellpadding="2" cellspacing="0" align="center">		<tr>			<td width="169" height="134"><img id="view" src='../ptt/border/1.png' height=120 width=160 style="border:1px #000 solid;"/></td>			<td width="296">			请先选择下面的相框,被选中的相框图片会在左边区域显示出来哦。<br/><br/>			<input id="link" type="button" value=" 开 始 拍 照 " onClick="window.location=urll;" class="clsText"/>			</td>		</tr>	</table></TD>    </TR>	<tr>	          <TD height="350" align="center" valign="top">         <table width="450" height="342" border="0" cellpadding="0" cellspacing="0">          <tr>             <td width="150" height="114" align="center"><a href='#' onFocus="chose('view','link','1.png');"><img src="../ptt/Border/1.png" width="121" height="90" border="0"></a></td>            <td width="150" align="center"><a href='#' onFocus="chose('view','link','2.png');"><img src="../ptt/Border/2.png" width="121" height="90" border="0"></a></td>            <td width="150" align="center"><a href='#' onFocus="chose('view','link','3.png');"><img src="../ptt/Border/3.png" width="121" height="90" border="0"></a></td>          </tr>          <tr>             <td width="150" height="114" align="center"><a href='#' onFocus="chose('view','link','4.png');"><img src="../ptt/Border/4.png" width="121" height="90" border="0"></a></td>            <td width="150" align="center"><a href='#' onFocus="chose('view','link','5.png');"><img src="../ptt/Border/5.png" width="121" height="90" border="0"></a></td>            <td width="150" align="center"><a href='#' onFocus="chose('view','link','6.png');"><img src="../ptt/Border/6.png" width="121" height="90" border="0"></a></td>          </tr>          <tr>             <td width="150" height="114" align="center"><a href='#' onFocus="chose('view','link',7.png');"><img src="../ptt/Border/7.png" width="121" height="90" border="0"></a></td>            <td width="150" align="center"><a href='#' onFocus="chose('view','link','8.png');"><img src="../ptt/Border/8.png" width="121" height="90" border="0"></a></td>            <td width="150" align="center"><a href='#' onFocus="chose('view','link','9.png');"><img src="../ptt/Border/9.png" width="121" height="90" border="0"></a></td>          </tr>        </table></TD>	</tr>  </TBODY></TABLE></body></html><%    End();    } catch(Exception ex) {         printStackTrace(ex);    } %>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -