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

📄 modifyhtitle.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();    jasp.adodb.Recordset rs = null;    String sql = "";%><%@ include file="../include/connect.jsp" %><html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><LINK href="../CSS/Hompy/hompy.css" type=text/css rel=stylesheet><title>修改个人秀标题</title></head><body leftMargin=0 topMargin=0 marginheight="0" marginwidth="0"  oncontextmenu="window.event.returnValue=false" onselectstart="return false"><%    username.set(checkstr(new variant(Request.QueryString("Username"))));    if (username.equals(new variant(""))) {        Response.Redirect("http://www.goshow8.com");    }    if (Session.getItem("username").unequals(username)) {        Response.Write("你没有权限!");        Response.Redirect("http://www.goshow8.com");        Response.End();    }%><table width="288" height="110" border="0" cellpadding="0" cellspacing="0">  <tr>     <td width="279" class="orange2_b" style="PADDING-LEFT: 10px; HEIGHT: 24px;BORDER-TOP: #cecfce 1px solid; BORDER-BOTTOM: #cecfce 1px dotted; BACKGROUND-COLOR: #f7f7f7">       修改个人秀标题</td>  </tr>  <tr>     <td height="80" align="center"><%    rs = new jasp.adodb.Recordset();    sql = "select * from iisALLUser where Username='" + username + "'";    rs.Open(sql, cn, 1, 1);%>	<table width="277" border="0" cellspacing="0" cellpadding="0">        <form action="modifyhtitle_do.jsp?username=<%= username %>" method="post">	<tbody>        <tr>              <td height="27" align="center">名称:                <input name="hompyname" type="text" value="<%= rs.getItem("Hompyname").getValue() %>" maxlength="15" style="width:180px"> <Input type="image" src="../Images/Hompy/btn_confirm.gif" width="39" height="18" align="absmiddle"></td>        </tr>        <tr>              <td height="31" align="center">*修改完成后,请点击“确定”按纽保存。</td>        </tr>	</tbody>	</form>    </table><%    rs.Close();    rs = (jasp.adodb.Recordset)null;%>	  </td>  </tr>  <tr>     <td style="HEIGHT: 4px; BORDER-TOP: #cecfce 1px dotted; BORDER-BOTTOM: #cecfce 1px solid; BACKGROUND-COLOR: #f7f7f7"><img src="" width="4" height="4" alt=""></td>  </tr></table></body></html><%    End();    } catch(Exception ex) {         printStackTrace(ex);    } %>

⌨️ 快捷键说明

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