📄 xslunwen_jsp.java
字号:
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.sql.*;
import common.PageView;
public final class xslunwen_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,
"", 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("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\r\n");
out.write("<html>\r\n");
out.write("<head>\r\n");
out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n");
out.write("<title>汉语室研究所---在研项目列表</title>\r\n");
out.write("<style type=\"text/css\">\r\n");
out.write("<!--\r\n");
out.write("-->\r\n");
out.write("</style>\r\n");
out.write("<link href=\"main.css\" rel=\"stylesheet\" type=\"text/css\">\r\n");
out.write("</head>\r\n");
out.write(" \r\n");
out.write(" ");
org.OrgManager myOM = null;
synchronized (_jspx_page_context) {
myOM = (org.OrgManager) _jspx_page_context.getAttribute("myOM", PageContext.PAGE_SCOPE);
if (myOM == null){
myOM = new org.OrgManager();
_jspx_page_context.setAttribute("myOM", myOM, PageContext.PAGE_SCOPE);
}
}
out.write('\r');
out.write('\n');
out.write(' ');
person.PersonManager myPM = null;
synchronized (_jspx_page_context) {
myPM = (person.PersonManager) _jspx_page_context.getAttribute("myPM", PageContext.PAGE_SCOPE);
if (myPM == null){
myPM = new person.PersonManager();
_jspx_page_context.setAttribute("myPM", myPM, PageContext.PAGE_SCOPE);
}
}
out.write('\r');
out.write('\n');
out.write(' ');
honor.HonorManager myHM = null;
synchronized (_jspx_page_context) {
myHM = (honor.HonorManager) _jspx_page_context.getAttribute("myHM", PageContext.PAGE_SCOPE);
if (myHM == null){
myHM = new honor.HonorManager();
_jspx_page_context.setAttribute("myHM", myHM, PageContext.PAGE_SCOPE);
}
}
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("<body background=\"images/bgbg1_04.jpg\" topmargin=\"0\">\r\n");
out.write("<div align=\"center\">\r\n");
out.write(" <table width=\"772\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" >\r\n");
out.write(" <!--DWLayoutTable-->\r\n");
out.write(" <tr> \r\n");
out.write(" <td width=\"772\" height=\"49\" valign=\"top\" ><img src=\"images/web_01.jpg\" width=\"772\" height=\"49\" border=\"0\" usemap=\"#Map\"></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr> \r\n");
out.write(" <td height=\"108\" valign=\"top\" > <p> \r\n");
out.write(" <object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"772\" height=\"108\">\r\n");
out.write(" <param name=\"movie\" value=\"images/title.swf\">\r\n");
out.write(" <param name=\"quality\" value=\"high\">\r\n");
out.write(" <embed src=\"images/title.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"772\" height=\"108\"></embed></object>\r\n");
out.write(" </p></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr> \r\n");
out.write(" <td height=\"349\" valign=\"top\" >\r\n");
out.write(" <table background=\"images/bg.jpg\" width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <!--DWLayoutTable-->\r\n");
out.write(" <tr> \r\n");
out.write(" <td width=\"100%\" height=\"25\" colspan=\"4\"> </td>\r\n");
out.write(" \r\n");
out.write(" </tr>\r\n");
out.write(" \r\n");
out.write(" <tr> \r\n");
out.write(" <td colspan=\"3\" valign=\"top\" align=\"left\" width=\"50%\"><span class=\"1\"><a href=\"#\">记录总数 0 条</a>. \r\n");
out.write(" <a href=\"#\">共 0 页</a> \r\n");
out.write(" <a href=\"#\">当前为第 1 页</a> \t\r\n");
out.write(" \r\n");
out.write(" </td>\r\n");
out.write(" <td valign=\"top\" align=\"right\" width=\"50%\">\r\n");
out.write(" <a href=\"#\">首页|</a> \r\n");
out.write(" <a href=\"#\">上一页|</a> \r\n");
out.write(" <a href=\"#\">下一页|</a> \r\n");
out.write(" <a href=\"#\">末页</a> \r\n");
out.write(" \t\t</span><br>\r\n");
out.write(" \t</td>\r\n");
out.write(" \r\n");
out.write(" </tr>\r\n");
out.write(" \r\n");
out.write(" <tr> \r\n");
out.write(" <td height=\"28\"></td>\r\n");
out.write(" <td > </td>\r\n");
out.write(" <td > </td>\r\n");
out.write(" <td ></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write(" \r\n");
out.write(" <table background=\"images/bg.jpg\" width=\"100%\" border=\"1\" bordercolor=\"906647\" cellpadding=\"5\" cellspacing=\"0\">\r\n");
out.write(" \r\n");
out.write(" <tr height=\"25\">\r\n");
out.write(" \t<td width=\"5%\" align=\"left\">\r\n");
out.write(" \t<span class=\"1\">序号</td>\r\n");
out.write(" \t<td width=\"15%\" align=\"left\">\r\n");
out.write(" \t<span class=\"1\">作者</td>\r\n");
out.write(" \t<td width=\"20%\" align=\"left\">\r\n");
out.write(" \t<span class=\"1\">论文名称</td>\r\n");
out.write(" \t<td width=\"20%\" align=\"left\">\r\n");
out.write(" \t<span class=\"1\">杂志/期刊名</td>\r\n");
out.write(" \t<td width=\"10%\" align=\"left\">\r\n");
out.write(" \t<span class=\"1\">论文级别</td>\r\n");
out.write(" \t<td width=\"10%\" align=\"left\">\r\n");
out.write(" \t<span class=\"1\">发表时间</td>\r\n");
out.write(" \t<td width=\"20%\" align=\"left\">\r\n");
out.write(" \t<span class=\"1\">链接</td>\r\n");
out.write(" \t</tr>\r\n");
out.write(" \r\n");
out.write("\r\n");
out.write(" ");
ResultSet rs,rs2;
rs = myHM.getAll();
int hid;
int tid;
String tname=new String();
String hname=new String();
String media = new String();
String gtime= new String();
String lvl= new String();
String url = new String();
int count=0;
int tcount=0;
while(rs!=null && rs.next())
{
count++; //序号
tcount=0; //承担人数置空
hid = rs.getInt("Hid");
hname = myHM.getHName(hid).trim();
media = myHM.getHMedia(hid).trim();
lvl = myHM.getHLevel(hid).trim();
gtime = myHM.getHGetTime(hid).trim();
url = myHM.getHUrl(hid).trim();
out.write("\t\t\t\t\t<tr height=\"25\">\r\n");
out.write(" \t\t\t\t\t<td width=\"5%\" align=\"left\">\r\n");
out.write(" \t\t\t<span class=\"2\">");
out.print(count);
out.write("</td>\r\n");
out.write(" ");
rs2 = myHM.getHonorPerson(hid);
out.write("\t\t\t\t\t<td width=\"15%\" align=\"left\">\r\n");
out.write(" \t\t\t<span class=\"2\">\r\n");
out.write(" ");
while(rs2!=null && rs2.next())
{
tcount++;
tid = rs2.getInt("Tid");
tname = myPM.getTName(tid).trim();
out.write("\t\t\t\t\t\t<a href=\"geren.jsp?tid=");
out.print(tid);
out.write('"');
out.write('>');
out.write(' ');
out.print(tname);
out.write(" </a> \t\t\t\t\t \t\t\t\t\r\n");
out.write(" ");
out.print(" ");
}
if(tcount==0)
out.print(" ");
out.write("\t\t\t\t\t</td>\r\n");
out.write(" \t\t\t<span class=\"2\">\r\n");
out.write(" \t\t\t\t\t<td width=\"20%\" align=\"left\">\r\n");
out.write(" \t\t\t<span class=\"2\">");
if(hname.length()==0) out.print(" ");out.print(hname);
out.write("</td>\r\n");
out.write(" \t\t\t\t\t<td width=\"20%\" align=\"left\">\r\n");
out.write(" \t\t\t<span class=\"2\">");
if(media.length()==0) out.print(" ");out.print(media);
out.write("</td>\r\n");
out.write(" \t\t\t\t\t<td width=\"10%\" align=\"left\">\r\n");
out.write(" \t\t\t<span class=\"2\">");
if(lvl.length()==0) out.print(" "); else out.print(lvl);
out.write("</td>\r\n");
out.write(" \t\t\t\t\t<td width=\"10%\" align=\"left\">\r\n");
out.write(" \t\t\t<span class=\"2\">");
if(gtime.length()==0) out.print(" ");out.print(gtime);
out.write("</td>\r\n");
out.write(" \t\t\t\t\t<td width=\"20%\" align=\"left\">\r\n");
out.write(" \t\t\t<span class=\"2\">");
if(url.length()==0) out.print(" ");
out.write("<a href=\"");
out.print(url);
out.write('"');
out.write('>');
out.print(url);
out.write("</a></td>\r\n");
out.write(" \t\t\t\t\t</tr>\r\n");
out.write(" \r\n");
out.write(" ");
}
out.write("\r\n");
out.write(" \r\n");
out.write(" \r\n");
out.write(" </table>\r\n");
out.write(" \r\n");
out.write(" \r\n");
out.write(" <br>\r\n");
out.write(" <p align=\"center\"><a href=\"chengguo.htm\">返回</a></p>\r\n");
out.write(" <br>\r\n");
out.write(" <br>\r\n");
out.write(" </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr> \r\n");
out.write(" <td height=\"44\" valign=\"top\" bgcolor=\"b39d8d\" > <div align=\"center\" class=\"butom\"><span class=\"3\"><img src=\"images/spacer.gif\" width=\"1\" height=\"20\">版权所有(C) \r\n");
out.write(" 浙江大学汉语史研究中心<br>\r\n");
out.write(" 地址:浙江大学西溪校区东一教学楼五楼、六楼 310028</span><br>\r\n");
out.write(" </div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write("</div>\r\n");
out.write("<map name=\"Map\">\r\n");
out.write(" <area shape=\"rect\" coords=\"205,23,248,39\" href=\"#\">\r\n");
out.write(" <area shape=\"rect\" coords=\"253,22,322,40\" href=\"#\">\r\n");
out.write(" <area shape=\"rect\" coords=\"325,21,396,40\" href=\"#\">\r\n");
out.write(" <area shape=\"rect\" coords=\"400,22,469,41\" href=\"#\">\r\n");
out.write(" <area shape=\"rect\" coords=\"474,21,542,38\" href=\"#\">\r\n");
out.write(" <area shape=\"rect\" coords=\"546,22,615,40\" href=\"#\">\r\n");
out.write(" <area shape=\"rect\" coords=\"619,21,689,40\" href=\"#\">\r\n");
out.write(" <area shape=\"rect\" coords=\"695,21,761,40\" href=\"#\">\r\n");
out.write("</map>\r\n");
out.write("</body>\r\n");
out.write("</html>\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 + -