📄 success_jsp.java
字号:
package org.apache.jsp.message;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import com.web.util.*;
public final class success_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
static {
_jspx_dependants = new java.util.Vector(3);
_jspx_dependants.add("/WEB-INF/struts-bean.tld");
_jspx_dependants.add("/WEB-INF/struts-html.tld");
_jspx_dependants.add("/WEB-INF/Page.tld");
}
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("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\r\n");
out.write("<HTML>\r\n");
out.write("<HEAD>\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("<META http-equiv=\"Content-Type\" content=\"text/html; charset=GBK\">\r\n");
out.write("<LINK href=\"");
out.print(request.getContextPath());
out.write("/style/style.css\" rel=\"stylesheet\" type=\"text/css\">\r\n");
out.write("<title>正文</title>\r\n");
out.write("</head>\r\n");
out.write("<base target=\"_self\">\r\n");
out.write("<script language=javascript>\r\n");
out.write("\tfunction sendpage(url){\r\n");
out.write("\t\tself.parent.location.href= url;\r\n");
out.write("\t}\r\n");
out.write("\tfunction reloadform(){\r\n");
out.write("\t\tself.parent.location.reload();\r\n");
out.write("\t}\r\n");
out.write("</script>\r\n");
out.write("<body topmargin=\"0\" leftmargin=\"0\">\r\n");
PageUrlManage pManage = (PageUrlManage)session.getAttribute("PAGE_MANAGE");
session.setAttribute("PAGE_MANAGE",null);
Object message=session.getAttribute("SYSTEM_SUCCESS");
if(message==null){
message="操作成功!";
}
String msg="" + message;
out.write("\r\n");
out.write("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\r\n");
out.write(" <tr> \r\n");
out.write(" <td width=\"2%\" valign=\"top\" rowspan=\"7\"></td>\r\n");
out.write(" <td width=\"96%\" height=\"10\" colspan=\"2\" valign=\"top\"></td>\r\n");
out.write(" <td width=\"2%\" valign=\"top\" rowspan=\"7\"></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write(" <table width=100%>\r\n");
out.write("\t\t<tr>\r\n");
out.write("\t\t\t<td align=center height=50>\r\n");
out.write("\t\t\t\t");
if(msg.length()>0){
if(msg.indexOf(":")>0){
msg=msg.substring(msg.indexOf(":")+1);
}
}
out.println(msg);
if(session.getAttribute("SYSTEM_SUCCESS")!=null){
session.setAttribute("SYSTEM_SUCCESS",null);
}
out.write(" \r\n");
out.write("\t\t\t</td>\r\n");
out.write("\t\t</tr>\r\n");
out.write("\t\t\r\n");
out.write("\t\t<tr>\r\n");
out.write("\t\t\t<td align=center height=50 valign=bottom>\r\n");
out.write("\t\t\t");
if(pManage!=null){
for(int i=0;i<pManage.getPEntityList().size();i++){
PageEntity pEntity = (PageEntity)pManage.getPEntityList().get(i);
out.write("\r\n");
out.write("\t\t\t\t<input type=button value=\"");
out.print(pEntity.getName());
out.write("\" class=\"button1\" onclick=\"javascript:sendpage('");
out.print(request.getContextPath()+pEntity.getUrl()+pEntity.getUrlPara());
out.write("')\">\r\n");
out.write("\t\t\t");
}
out.write("\r\n");
out.write("\t\t\t\t<input type=button value=\"关闭窗口\" class=\"button1\" onclick=\"javascript:self.parent.hidden('");
out.print(request.getContextPath()+pManage.getMessagePageUrl());
out.write("')\">\r\n");
out.write("\t\t\t");
}else{
out.write("\r\n");
out.write("\t\t\t\t<input type=button value=\"关闭窗口\" class=\"button1\" onclick=\"javascript:self.parent.hidden('");
out.print(request.getContextPath()+pManage.getMessagePageUrl());
out.write("')\">\r\n");
out.write("\t\t\t");
}
out.write("\r\n");
out.write("\t\t\t</td>\r\n");
out.write("\t\t</tr>\r\n");
out.write("\t</table>\r\n");
out.write("</body>\r\n");
out.write("</html>");
} 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 + -