package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
import com.longterms.util.RequestUtil;
import com.longterms.util.Const;
public class login_jsp extends HttpJspBase {
private static java.util.Vector _jspx_includes;
static {
_jspx_includes = new java.util.Vector(1);
_jspx_includes.add("/public/global.jsp");
}
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_bean_message_key_bundle;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_form_action;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_if_test;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_text_value_styleClass_style_property;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_select_property;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_optionsCollection_property_name;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_option_value;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_password_value_styleClass_style_property_onkeydown;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_text_value_styleClass_style_property_onkeydown;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_radio_value_property_onclick;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_radio_value_property_onclick_disabled;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_errors;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_button_styleClass_style_property_onclick;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_password_style_property;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_hidden_value_property;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_hidden_property;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_javascript_formName;
public login_jsp() {
_jspx_tagPool_bean_message_key_bundle = new org.apache.jasper.runtime.TagHandlerPool();
_jspx_tagPool_html_form_action = new org.apache.jasper.runtime.TagHandlerPool();
_jspx_tagPool_c_if_test = new org.apache.jasper.runtime.TagHandlerPool();
_jspx_tagPool_html_text_value_styleClass_style_property = new org.apache.jasper.runtime.TagHandlerPool();
_jspx_tagPool_html_select_property = new org.apache.jasper.runtime.TagHandlerPool();
_jspx_tagPool_html_optionsCollection_property_name = new org.apache.jasper.runtime.TagHandlerPool();
_jspx_tagPool_html_option_value = new org.apache.jasper.runtime.TagHandlerPool();
_jspx_tagPool_html_password_value_styleClass_style_property_onkeydown = new org.apache.jasper.runtime.TagHandlerPool();
_jspx_tagPool_html_text_value_styleClass_style_property_onkeydown = new org.apache.jasper.runtime.TagHandlerPool();
_jspx_tagPool_html_radio_value_property_onclick = new org.apache.jasper.runtime.TagHandlerPool();
_jspx_tagPool_html_radio_value_property_onclick_disabled = new org.apache.jasper.runtime.TagHandlerPool();
_jspx_tagPool_html_errors = new org.apache.jasper.runtime.TagHandlerPool();
_jspx_tagPool_html_button_styleClass_style_property_onclick = new org.apache.jasper.runtime.TagHandlerPool();
_jspx_tagPool_html_password_style_property = new org.apache.jasper.runtime.TagHandlerPool();
_jspx_tagPool_html_hidden_value_property = new org.apache.jasper.runtime.TagHandlerPool();
_jspx_tagPool_html_hidden_property = new org.apache.jasper.runtime.TagHandlerPool();
_jspx_tagPool_html_javascript_formName = new org.apache.jasper.runtime.TagHandlerPool();
}
public java.util.List getIncludes() {
return _jspx_includes;
}
public void _jspDestroy() {
_jspx_tagPool_bean_message_key_bundle.release();
_jspx_tagPool_html_form_action.release();
_jspx_tagPool_c_if_test.release();
_jspx_tagPool_html_text_value_styleClass_style_property.release();
_jspx_tagPool_html_select_property.release();
_jspx_tagPool_html_optionsCollection_property_name.release();
_jspx_tagPool_html_option_value.release();
_jspx_tagPool_html_password_value_styleClass_style_property_onkeydown.release();
_jspx_tagPool_html_text_value_styleClass_style_property_onkeydown.release();
_jspx_tagPool_html_radio_value_property_onclick.release();
_jspx_tagPool_html_radio_value_property_onclick_disabled.release();
_jspx_tagPool_html_errors.release();
_jspx_tagPool_html_button_styleClass_style_property_onclick.release();
_jspx_tagPool_html_password_style_property.release();
_jspx_tagPool_html_hidden_value_property.release();
_jspx_tagPool_html_hidden_property.release();
_jspx_tagPool_html_javascript_formName.release();
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
javax.servlet.jsp.PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html;charset=UTF-8");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n\r\n");
out.write("\r\n");
response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
response.setHeader("Pragma","no-cache"); //HTTP 1.0
response.setDateHeader ("Expires", 0); //prevents caching at the proxy server
out.write("\r\n");
String serverpath = RequestUtil.getServerPath(request);
String themepath = RequestUtil.getThemePath(request);
out.write(" \r\n");
out.write("\r\n");
String view=RequestUtil.getAttribute(request,Const.VIEW);
out.write("\r\n");
out.write("<html>\r\n");
out.write("<head> \r\n");
out.write("<title>Customer Service Center");
out.write("</title>\r\n");
out.write("<link rel=\"stylesheet\" href=\"");
out.print(themepath);
out.write("/style.css\" type=\"text/css\">\r\n");
out.write("<script language=javascript>\r\n");
out.write("<!--\r\n\r\nfunction login(){\r\n\t\tdocument.all.actions.value=1;\r\n\t\tLoginForm.submit();\r\n}\r\n\r\nfunction showUpdate(){\r\n\r\n\t\tdocument.all.actions.value=2;\r\n\t\tLoginForm.submit();\r\n}\r\n\r\nfunction update(){\r\n\tif(checkBlank()){\r\n\t\talert(\"");
if (_jspx_meth_bean_message_0(pageContext))
return;
out.write("\");\r\n\t\treturn;\r\n\t}\r\n\tif(document.all.newPassword1.value!=document.all.newPassword2.value){\r\n\t\talert(\"");
if (_jspx_meth_bean_message_1(pageContext))
return;
out.write("\");\r\n\t}else{\r\n\t\tdocument.all.actions.value=3;\r\n\t\tLoginForm.submit();\r\n\t}\r\n}\r\n\r\nfunction checkBlank(){\t\t\r\n\tvar IsBlank=false;\r\n\tvar FldName= new Array(\"newPassword1\",\"newPassword2\");\r\n\tfor(i=0,n=FldName.length;i");
out.write("<n;i++){\r\n\t\tif(eval(\"window.document.all.\" + FldName[i]).value==\"\"){\t\r\n\t\t\tIsBlank=true;\t\r\n\t\t\tbreak;\t\r\n\t\t}\r\n\t}\r\n\treturn IsBlank;\r\n}\r\n\r\nfunction g
- 1
- 2
前往页