📄 __modifystatus.java
字号:
/* compiled from JSP: /ModifyStatus.jsp
*
* This code was automatically generated at 14:14:15 on 2005-11-23
* by weblogic.servlet.jsp.Jsp2Java -- do not edit.
*/
package jsp_servlet;
import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
// User imports
// built-in init parameters:
// boolean _verbose -- wants debugging
// Well-known variables:
// JspWriter out -- to write to the browser
// HttpServletRequest request -- the request object.
// HttpServletResponse response -- the response object.
// PageContext pageContext -- the page context for this JSP
// HttpSession session -- the session object for the client (if any)
// ServletContext application -- The servlet (application) context
// ServletConfig config -- The ServletConfig for this JSP
// Object page -- the instance of this page's implementation class (i.e., 'this')
/**
* This code was automatically generated at 14:14:15 on 2005-11-23
* by weblogic.servlet.jsp.Jsp2Java -- do not edit.
*
* Copyright (c) 2005 by BEA Systems, Inc. All Rights Reserved.
*/
public final class __modifystatus
extends
weblogic.servlet.jsp.JspBase
implements weblogic.servlet.jsp.StaleIndicator
{
// StaleIndicator interface public boolean _isStale() { weblogic.servlet.jsp.StaleChecker sci =(weblogic.servlet.jsp.StaleChecker)(getServletConfig().getServletContext()); java.io.File f = null; long lastModWhenBuilt = 0L; if (sci.isResourceStale("/ModifyStatus.jsp", 1118739280000L, "WebLogic Server 7.0 Thu Apr 25 17:16:22 PDT 2002 180709 ")) return true; return false; } public static boolean _staticIsStale(weblogic.servlet.jsp.StaleChecker sci) { java.io.File f = null; long lastModWhenBuilt = 0L; if (sci.isResourceStale("/ModifyStatus.jsp", 1118739280000L, "WebLogic Server 7.0 Thu Apr 25 17:16:22 PDT 2002 180709 ")) return true; return false; }
public void _jspService(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException
{
// declare and set well-known variables:
javax.servlet.ServletConfig config = getServletConfig();
javax.servlet.ServletContext application = config.getServletContext();
javax.servlet.jsp.tagext.Tag _activeTag = null;
// variables for Tag extension protocol
Object page = this;
javax.servlet.jsp.JspWriter out;
javax.servlet.jsp.PageContext pageContext = javax.servlet.jsp.JspFactory.getDefaultFactory().getPageContext(this, request, response, null, true, 8192, true);
response.setHeader("Content-Type", "text/html; charset=gb2312"); out = pageContext.getOut(); JspWriter _originalOut = out;
javax.servlet.http.HttpSession session = request.getSession(true);
try { // error page try block response.setContentType("text/html;charset=gb2312"); out.print("\r\n\r\n"); //[ /ModifyStatus.jsp; Line: 3] if(session.getAttribute("userid")==null) //[ /ModifyStatus.jsp; Line: 4] response.sendRedirect("/login.jsp"); //[ /ModifyStatus.jsp; Line: 5] out.print("\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<title>批修改企业状态</title>\r\n<link href=\"Admin_STYLE.CSS\" rel=\"stylesheet\" type=\"text/css\">\r\n<script language=\"JavaScript\">\r\nfunction check(){\r\n if (MainForm.oldStatus.value==\"\"){\r\n\t alert(\'原来的状态值不能为空!\');\r\n\t\tMainForm.oldStatus.focus();\r\n\t\treturn false;\r\n\t}\r\n\tif (MainForm.newStatus.value==\"\"){\r\n\t alert(\'新的状态值不能为空!\');\r\n\t\tMainForm.newStatus.focus();\r\n\t\treturn false;\r\n\t}\r\n\tif ((parseInt(MainForm.oldStatus.value))<1 ||(parseInt(MainForm.oldStatus.value))>3){\r\n\t alert(\'状态值只能是1,2,3中的一个.\');\r\n\t\tMainForm.oldStatus.focus();\r\n\t\treturn false;\r\n\t}\r\n\tif ((parseInt(MainForm.newStatus.value))<1 ||(parseInt(MainForm.newStatus.value))>3){\r\n\t alert(\'状态值只能是1,2,3中的一个.\');\r\n\t\tMainForm.newStatus.focus();\r\n\t\treturn false;\r\n\t}\r\n\treturn true;\r\n}\r\nfunction check_onclick(){\r\n if (check()==true){\r\n MainForm.Op.value=\"ModifyStatus\";\r\n\t\t MainForm.submit();\r\n\t }\r\n}\r\nfunction douser(i){\r\n chk=MainForm.user_type;\r\n MainF"); out.print("orm.douser_type.value=chk[i].value;\r\n}\r\n</script></head>\r\n\r\n<BODY bgcolor=\"#E1F4EE\" leftmargin=\"2\" topmargin=\"0\" marginheight=\"0\" >\r\n<form id=MainForm method=post action=Result.jsp>\r\n <table width=\"100%\" border=\"0\">\r\n <tr>\r\n <td class=\"topbg\">批修改企业状态:</td>\r\n </tr>\r\n </table>\r\n <table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"1\">\r\n <tr class=\"tdbg\">\r\n <td>\r\n <div align=\"right\"><font color=\"#000000\">企业识别号:</font></div></td>\r\n <td>\r\n <input name=\"UserID\" maxlength=15 ><label>(不填计所有,填前几位计一批。)</label></td>\r\n </tr>\r\n <tr class=\"tdbg\">\r\n <td>\r\n <div align=\"right\"><font color=\"#000000\">企业原来状态:</font></div></td>\r\n <td>\r\n <input name=\"oldStatus\" maxlength=1 ><label>(1表示正常;2表示销户;3表示禁用)</label></td>\r\n </tr>\r\n <tr class=\"tdbg\">\r\n <td>\r\n <div align=\"right\"><font color=\"#000000\">企业新的状态:</font></div></td>\r\n <td>\r\n <input name=\"newStatus\" maxlength=1 ></td>\r\n </tr>\r\n <tr class=\"tdbg\">\r\n\t <td align=\"right\">企"); out.print("业所属:</td>\r\n <td width=\"44%\" >\r\n <input name=\"donet_type\" size=\"24\" > \r\n </td>\r\n </tr>\r\n <tr class=\"tdbg\">\r\n <td width=\"56%\" colspan=\"2\"><div align=\"center\"><font color=\"#000000\">\r\n <input type=\"radio\" name=\"user_type\" value=\"企业版\" onClick=\"douser(0)\"><label valign=\"top\">企业版</label>\r\n <input type=\"radio\" name=\"user_type\" Value=\"代理版\" onClick=\"douser(1)\"><label valign=\"top\">代理版</label>\r\n <input type=\"hidden\" name=\"douser_type\">\r\n </font></div></td>\r\n </tr>\r\n </table>\r\n <table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"1\">\r\n <tr>\r\n <td width=\"46%\" height=\"31\">\r\n <div align=\"right\">\r\n <input type=\"button\" name=\"button1\" value=\"确认\" onClick=\"return check_onclick()\">\r\n </div></td>\r\n <td width=\"54%\"> <div align=\"left\">\r\n <input type=\"reset\" name=\"Submit2\" value=\"重置\">\r\n </div></td>\r\n </tr>\r\n </table>\r\n <p>\r\n <input type=\"hidden\" name=\"Op\" maxlength=4 >\r\n</form></P>\r\n\r\n"); } catch (Throwable __ee) { while (out != null && out != _originalOut) out = pageContext.popBody(); ((weblogic.servlet.jsp.PageContextImpl)pageContext).handlePageException((Throwable)__ee); }
//before final close brace...
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -