?? adminmodifypwd_jsp.java
字號:
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class adminmodifypwd_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
public java.util.List getDependants() {
return _jspx_dependants;
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=GBK");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n");
out.write("<html>\r\n");
out.write("<head>\r\n");
out.write("<link href=\"css/css0.css\" rel=\"stylesheet\" type=\"text/css\">\r\n");
out.write("</head>\r\n");
out.write("<body bgcolor=\"#D1C4A3\">系統設置面板\r\n");
out.write("<br>\r\n");
out.write("<br/>\r\n");
out.write("<table width=\"98%\" border=\"0\" align=\"center\" cellpadding=\"15\" cellspacing=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td bgcolor=\"#EFEADE\">\r\n");
out.write(" <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td bgcolor=\"#FFFFFF\"> 系統設置--\r\n");
out.write(" >\r\n");
out.write(" 修改密碼\r\n");
out.write("</td>\r\n");
out.write(" </tr>\r\n");
out.write(" 修改密碼\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"18\" bgcolor=\"#FFFFFF\">\r\n");
out.write(" <form action=\"adminmodifypwd\" method=\"POST\" name=\"main\" onsubmit=\"return check()\">\r\n");
out.write(" <table width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td colspan=\"2\" style=\"color:red\">");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${message}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write(" </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=\"19%\">舊用戶名:</td>\r\n");
out.write(" <td width=\"81%\">\r\n");
out.write(" <input type=\"text\" name=\"oldname\" value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${name}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\"/>\r\n");
out.write(" </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td>舊密碼:</td>\r\n");
out.write(" <td>\r\n");
out.write(" <input type=\"password\" name=\"oldpassword\"/>\r\n");
out.write(" </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td>新用戶名:</td>\r\n");
out.write(" <td>\r\n");
out.write(" <input type=\"text\" name=\"newname\"/>\r\n");
out.write(" </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td>新密碼:</td>\r\n");
out.write(" <td>\r\n");
out.write(" <input type=\"password\" name=\"newpassword\"/>\r\n");
out.write(" </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td>新重復密碼:</td>\r\n");
out.write(" <td>\r\n");
out.write(" <input type=\"password\" name=\"newpasswords\"/>\r\n");
out.write(" </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"18\" bgcolor=\"#FFFFFF\"> </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"18\" bgcolor=\"#FFFFFF\">\r\n");
out.write(" <input type=\"submit\" value=\"提交\" name=\"submit\"/>\r\n");
out.write(" \r\n");
out.write(" <input type=\"reset\" value=\"重填\" name=\"reset\"/>\r\n");
out.write(" </td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write(" </form>\r\n");
out.write(" </td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("</body>\r\n");
out.write("<script type=\"text/javascript\" language=\"javascript\">\r\n");
out.write("var obj = document.all;\r\n");
out.write("function check()\r\n");
out.write("{\r\n");
out.write(" if(obj.oldname.value==\"\" || obj.oldname.value==null)\r\n");
out.write(" {\r\n");
out.write(" alert(\"用戶名不能為空!\");\r\n");
out.write(" return false;\r\n");
out.write(" }\r\n");
out.write(" if(obj.oldpassword.value==\"\" || obj.oldpassword.value==null)\r\n");
out.write(" {\r\n");
out.write(" alert(\"密碼不能為空!\");\r\n");
out.write(" return false;\r\n");
out.write(" }\r\n");
out.write(" if(obj.newname.value==\"\" || obj.newname.value==null)\r\n");
out.write(" {\r\n");
out.write(" alert(\"用戶名不能為空!\");\r\n");
out.write(" return false;\r\n");
out.write(" }\r\n");
out.write(" if(obj.newpassword.value==\"\" || obj.newpassword.value==null)\r\n");
out.write(" {\r\n");
out.write(" alert(\"密碼不能為空!\");\r\n");
out.write(" return false;\r\n");
out.write(" }\r\n");
out.write(" if(obj.newpassword.value != obj.newpasswords.value)\r\n");
out.write(" {\r\n");
out.write(" alert(\"兩次密碼輸入不一至!\");\r\n");
out.write(" return false;\r\n");
out.write(" }\r\n");
out.write(" return true;\r\n");
out.write("}\r\n");
out.write("</script></html>\r\n");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -