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

📄 showadmin.jsp

📁 留言簿架构 oracle 9i + jsp + struts 留言簿基本功能: 1 、客人签写留言 2 、基本的UBB支持
💻 JSP
字号:
<%@ page language="java" contentType="text/html; charset=gb2312"   pageEncoding="gb2312"%>
<%@ page import="java.util.*" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> 
<% 
Hashtable dynamicParameter = ( Hashtable)request.getAttribute( "dynamicParameter" ); 
Hashtable adminInfo=( Hashtable)request.getAttribute( "adminInfo" );
%>
<html>
<head>
<meta name="Author" content="bluefloat">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>修改管理员资料--<%=dynamicParameter.get( "guestBookName" )%></title>
<%@ include file="../style.jsp" %>
</head>
<body>
<div align="center"> 
<%@ include file="menu.jsp" %>
 <html:form action="admin/adminupdate">
 <html:hidden  property="id" value="<%=adminInfo.get("id").toString()%>"  /> 
   <center>  
<table width="350" border="1"  bordercolor="<%=dynamicParameter.get( "styleInfo/bordercolor" )%>"  style="border-collapse: collapse"  cellspacing="0" height="19" align="center">     
<tr class="addfont"> 
     <td width="100%" height="20" colspan="2"  >   
     <p align="center"><b><font color="#FFFFFF">修改管理员资料</font></b></td> 
</tr>    
<tr class="lybtable">      <td width="32%" height="1">&nbsp;<b>帐号:</b></td>    
  <td width="68%" height="1"> 
 <p>
 <html:text property="name" size="22" value="<%=adminInfo.get("name").toString()%>"></html:text>
 </p> 
          </td>    
</tr>    
<tr class="lybtable">      <td width="32%" height="9">&nbsp;<b>旧密码:</b></td> 
     <td width="68%" height="9">
      <html:password property="pass" size="22"></html:password> 
     </td> 
</tr>    
<tr class="lybtable">      <td width="32%" height="9">&nbsp;<b>新密码:</b></td> 
     <td width="68%" height="9"><html:password property="pass1" size="22"></html:password></td> 
   </tr>   
<tr class="lybtable">      <td width="32%" height="9">&nbsp;<b>确认新密码:</b></td> 
     <td width="68%" height="9">
<html:password property="pass2" size="22"></html:password></td> 
   </tr>     <tr class="lybtable">      <td width="100%" height="12" colspan="2"> 
 <p align="center">
<html:submit value="更新"> </html:submit> 
 &nbsp;&nbsp;&nbsp;&nbsp;  
<html:reset value="重置"></html:reset> </p>      </td>    </tr>  </table>  
</center>
  </html:form>
 </div>
  </body>
</html>

⌨️ 快捷键说明

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