⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 head_005fleft_jsp.java

📁 一、数据库登录名:blog 密码:blog 二、首页应该运行log.jsp页面。其用户名:aa 密码:aaaa
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.*;

public final class head_005fleft_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

String days[];
  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("\r\n");
      out.write("<html>\r\n");
      out.write("<head>\r\n");
      out.write("<title>\r\n");
      out.write("head_left\r\n");
      out.write("</title>\r\n");
      out.write("</head>\r\n");
      OperationDB.operation dis = null;
      synchronized (session) {
        dis = (OperationDB.operation) _jspx_page_context.getAttribute("dis", PageContext.SESSION_SCOPE);
        if (dis == null){
          dis = new OperationDB.operation();
          _jspx_page_context.setAttribute("dis", dis, PageContext.SESSION_SCOPE);
          out.write('\r');
          out.write('\n');
        }
      }
      out.write('\r');
      out.write('\n');
      out.write('\r');
      out.write('\n');

days=new String[42];
for(int i=0;i<42;i++){
days[i]="";
}

      out.write('\r');
      out.write('\n');

GregorianCalendar currentDay=new GregorianCalendar();
int today=currentDay.get(Calendar.DAY_OF_MONTH);
int month=currentDay.get(Calendar.MONTH);
int year=currentDay.get(Calendar.YEAR);
Calendar thisMonth=Calendar.getInstance();
thisMonth.set(Calendar.MONTH,month);
thisMonth.set(Calendar.YEAR,year);
thisMonth.setFirstDayOfWeek(Calendar.SUNDAY);
thisMonth.set(Calendar.DAY_OF_MONTH,1);
int firstIndex=thisMonth.get(Calendar.DAY_OF_WEEK)-1;
int maxIndex=thisMonth.getActualMaximum(Calendar.DAY_OF_MONTH);
for(int i=0;i<maxIndex;i++){
 days[firstIndex+i]=String.valueOf(i+1);
}

      out.write('\r');
      out.write('\n');

//判断投票结果
String src="myimage/vote3.swf";


      out.write("\r\n");
      out.write("\r\n");
      out.write("<body onselectstart=\"return false\">\r\n");
      out.write("<table border=\"1\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("<tr>\r\n");
      out.write("<td>\r\n");
      out.write("<table width=\"184\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"myimage/4.jpg;\" >\r\n");
      out.write("      <tr>\r\n");
      out.write("        <td valign=\"top\">\r\n");
      out.write("          <table width=\"146\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("          <tr>\r\n");
      out.write("            <td width=\"23\" height=\"28\">&nbsp;</td>\r\n");
      out.write("            <td width=\"123\" valign=\"bottom\"><a href=\"main.jsp\" target=\"main\"><strong>首页</strong></a> <span class=\"style5 style1\">[HOME] </span></td>\r\n");
      out.write("          </tr>\r\n");
      out.write("        </table></td>\r\n");
      out.write("      </tr>\r\n");
      out.write("</table>\r\n");
      out.write("      <table width=\"184\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"myimage/6.jpg\">\r\n");
      out.write("        <tr>\r\n");
      out.write("          <td valign=\"top\"><table width=\"146\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("            <tr>\r\n");
      out.write("              <td width=\"23\" height=\"24\">&nbsp;</td>\r\n");
      out.write("              <td width=\"123\" valign=\"bottom\"><a href=\"head_explain.jsp\" target=\"main\"><strong>说明</strong></a> <span class=\"style5 style1\">[EXPLAIN] </span></td>\r\n");
      out.write("            </tr>\r\n");
      out.write("          </table></td>\r\n");
      out.write("        </tr>\r\n");
      out.write("      </table>\r\n");
      out.write("      <table width=\"184\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"myimage/4.jpg\">\r\n");
      out.write("        <tr>\r\n");
      out.write("          <td valign=\"top\"><table width=\"146\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("              <tr>\r\n");
      out.write("                <td width=\"23\" height=\"24\">&nbsp;</td>\r\n");
      out.write("                <td width=\"123\" valign=\"bottom\"><a href=\"main.jsp\" target=\"main\"><strong>文章</strong></a><span class=\"style5 style1\">[ARTICLE] </span></td>\r\n");
      out.write("              </tr>\r\n");
      out.write("          </table></td>\r\n");
      out.write("        </tr>\r\n");
      out.write("      </table>\r\n");
      out.write("      <table width=\"184\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"myimage/6.jpg\" >\r\n");
      out.write("        <tr>\r\n");
      out.write("          <td valign=\"top\"><table width=\"146\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("              <tr>\r\n");
      out.write("                <td width=\"23\" height=\"24\">&nbsp;</td>\r\n");
      out.write("                <td width=\"123\" valign=\"bottom\"><a href=\"head_discusslist.jsp\" target=\"main\"><strong>公告</strong></a> <span class=\"style5 style1\">[DISCUSS] </span></td>\r\n");
      out.write("              </tr>\r\n");
      out.write("          </table></td>\r\n");
      out.write("        </tr>\r\n");
      out.write("      </table>\r\n");
      out.write("       <table width=\"184\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"myimage/4.jpg\">\r\n");
      out.write("        <tr>\r\n");
      out.write("          <td valign=\"top\"><table width=\"146\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("              <tr>\r\n");
      out.write("                <td width=\"23\" height=\"24\">&nbsp;</td>\r\n");
      out.write("                <td width=\"123\" valign=\"bottom\"><a href=\"head_PhotoSelect.jsp\" target=\"main\"><strong>相册</strong></a> <span class=\"style5 style1\">[PHOTO] </span></td>\r\n");
      out.write("              </tr>\r\n");
      out.write("          </table></td>\r\n");
      out.write("        </tr>\r\n");
      out.write("      </table>\r\n");
      out.write("      <table width=\"184\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"myimage/6.jpg\">\r\n");
      out.write("        <tr>\r\n");
      out.write("          <td valign=\"top\"><table width=\"146\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("              <tr>\r\n");
      out.write("                <td width=\"23\" height=\"24\">&nbsp;</td>\r\n");
      out.write("                <td width=\"123\" valign=\"bottom\"><a href=\"mailto:Shilinglingsheng@126.com\" ><strong>邮箱</strong></a> <span class=\"style5 style1\">[EMAIL] </span></td>\r\n");
      out.write("              </tr>\r\n");
      out.write("          </table></td>\r\n");
      out.write("        </tr>\r\n");
      out.write("      </table>\r\n");
      out.write("      <table width=\"184\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("        <tr>\r\n");
      out.write("          <td><img src=\"myimage/head_16.jpg\" width=\"184\" height=\"16\" alt=\"\"></td>\r\n");
      out.write("        </tr>\r\n");
      out.write("        <tr>\r\n");
      out.write("          <td><img src=\"myimage/head_17.jpg\" width=\"184\" height=\"17\" alt=\"\"></td>\r\n");
      out.write("        </tr>\r\n");

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -