📄 top_jsp.java
字号:
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import com.domain.RightVO;
public final class top_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=gb2312");
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\r\n");
java.util.Date date=new java.util.Date();
out.write("\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<link href=\"css/style.css\" rel=\"stylesheet\" type=\"text/css\">\r\n <script Language=\"JavaScript\">\r\n function quit() {\r\n if(confirm(\"确定要退出吗?\")){\r\n window.location.href=\"loginOut.jsp\";\r\n\t}\r\n }\r\n </script>\r\n");
RightVO right=(RightVO)session.getAttribute("right");
if(right==null){
out.write("\r\n<meta http-equiv=\"refresh\" content=\"0;URL=connectionFail.jsp\">\r\n");
}else{
out.write("\r\n<table width=\"803\" height=\"136\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" background=\"picture/top.jpg\">\r\n <tr align=\"center\">\r\n <td colspan=\"11\"><font size=\"6\"> </font></td>\r\n </tr>\r\n <tr>\r\n <td width=\"142\" height=\"20\" align=\"center\"><font color=\"#FFFFFF\">今天是");
out.print(date.getYear()+1900);
out.write('年');
out.print(date.getMonth()+1);
out.write('月');
out.print(date.getDate());
out.write("日</font></td>\r\n\t<td width=\"123\" align=\"center\"><font color=\"#FFFFFF\"><a href=\"login.jsp\" class=\"word_white\"> 回到首页</a></font></td>\r\n <td width=\"66\" align=\"center\"><font color=\"#FFFFFF\">\r\n ");
if(right.getRt_code().intValue()==0){
out.write("\r\n 基础代码\r\n ");
}else{
out.write("\r\n <a href=\"dutyservlet?method=0\" class=\"word_white\">基础信息</a>\r\n ");
}
out.write("\r\n </font></td>\r\n <td width=\"66\" align=\"center\"><font color=\"#FFFFFF\">\r\n ");
if(right.getRt_date().intValue()==0){
out.write("\r\n 基础资料\r\n ");
}else{
out.write("\r\n <a href=\"clientservlet?method=0\" class=\"word_white\">基础资料</a>\r\n ");
}
out.write("\r\n </font></td>\r\n <td width=\"66\" align=\"center\"><font color=\"#FFFFFF\">\r\n ");
if(right.getRt_operation().intValue()==0){
out.write("\r\n 业务管理\r\n ");
}else{
out.write("\r\n <a href=\"goodsorderservlet?method=0\" class=\"word_white\">业务管理</a>\r\n ");
}
out.write("\r\n </font></td>\r\n <td width=\"66\" align=\"center\"><font color=\"#FFFFFF\">\r\n ");
if(right.getRt_forms().intValue()==0){
out.write("\r\n 信息查询\r\n ");
}else{
out.write("\r\n <a href=\"informationselectservlet?method=0\" class=\"word_white\">信息查询</a>\r\n ");
}
out.write("\r\n </font></td>\r\n <td width=\"66\" align=\"center\"><font color=\"#FFFFFF\">\r\n ");
if(right.getRt_tool().intValue()==0){
out.write("\r\n 辅助工具\r\n ");
}else{
out.write("\r\n <a href=\"getAccount.jsp\" class=\"word_white\">辅助工具</a>\r\n ");
}
out.write("\r\n </font></td>\r\n <td width=\"66\" align=\"center\"><font color=\"#FFFFFF\">\r\n ");
if(right.getRt_right().intValue()==0&&session.getAttribute("manager")!=null){
out.write("\r\n 系统设置\r\n ");
}else{
out.write("\r\n <a href=\"companyservlet?method=0\" class=\"word_white\">系统设置</a>\r\n ");
}
out.write("\r\n </font></td>\r\n <td width=\"66\" align=\"center\" ><a href=\"managerservlet?method=6&number=");
out.print(session.getAttribute("number"));
out.write("\" class=\"word_white\">个人设置</a></td>\r\n\t<td width=\"74\" align=\"center\"><a href=\"#\" onClick=\"quit()\" class=\"word_white\">安全退出</a></td>\r\n </tr>\r\n</table>\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 + -