📄 proj_005finfo_jsp.java
字号:
package org.apache.jsp.proj_005fjsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import edu.neu.sspp.hibernate.TUser;
import edu.neu.sspp.hibernate.TUserDAO;
import edu.neu.sspp.hibernate.TTeacher;
import edu.neu.sspp.hibernate.TTeacherDAO;
import edu.neu.sspp.hibernate.TProject;
import edu.neu.sspp.hibernate.TComment;
import edu.neu.sspp.PageSeparator;
import edu.neu.sspp.TextAreaConventer;
public final class proj_005finfo_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.List _jspx_dependants;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fhtml_005fhtml_005flang;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fhtml_005fbase_005fnobody;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fbean_005fwrite_005fname_005fnobody;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fbean_005fwrite_005fproperty_005fname_005fnobody;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005flogic_005fequal_005fvalue_005fscope_005fname;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005flogic_005fnotEqual_005fvalue_005fscope_005fname;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005flogic_005fiterate_005fscope_005fname_005fid;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005flogic_005fpresent_005fscope_005fname;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005flogic_005fequal_005fvalue_005fscope_005fproperty_005fname;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fbean_005fwrite_005fscope_005fproperty_005fname_005fnobody;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fhtml_005fform_005faction;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fhtml_005fhidden_005fvalue_005fproperty_005fnobody;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fhtml_005fcheckbox_005fproperty;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005flogic_005fnotPresent_005fname;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fhtml_005ftext_005fproperty_005fmaxlength_005fnobody;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fhtml_005ftextarea_005fproperty_005fnobody;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fhtml_005fsubmit_005fvalue_005fnobody;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fhtml_005fhtml_005flang = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fhtml_005fbase_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fbean_005fwrite_005fname_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fbean_005fwrite_005fproperty_005fname_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005flogic_005fequal_005fvalue_005fscope_005fname = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005flogic_005fnotEqual_005fvalue_005fscope_005fname = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005flogic_005fiterate_005fscope_005fname_005fid = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005flogic_005fpresent_005fscope_005fname = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005flogic_005fequal_005fvalue_005fscope_005fproperty_005fname = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fbean_005fwrite_005fscope_005fproperty_005fname_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fhtml_005fform_005faction = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fhtml_005fhidden_005fvalue_005fproperty_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fhtml_005fcheckbox_005fproperty = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005flogic_005fnotPresent_005fname = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fhtml_005ftext_005fproperty_005fmaxlength_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fhtml_005ftextarea_005fproperty_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fhtml_005fsubmit_005fvalue_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fhtml_005fhtml_005flang.release();
_005fjspx_005ftagPool_005fhtml_005fbase_005fnobody.release();
_005fjspx_005ftagPool_005fbean_005fwrite_005fname_005fnobody.release();
_005fjspx_005ftagPool_005fbean_005fwrite_005fproperty_005fname_005fnobody.release();
_005fjspx_005ftagPool_005flogic_005fequal_005fvalue_005fscope_005fname.release();
_005fjspx_005ftagPool_005flogic_005fnotEqual_005fvalue_005fscope_005fname.release();
_005fjspx_005ftagPool_005flogic_005fiterate_005fscope_005fname_005fid.release();
_005fjspx_005ftagPool_005flogic_005fpresent_005fscope_005fname.release();
_005fjspx_005ftagPool_005flogic_005fequal_005fvalue_005fscope_005fproperty_005fname.release();
_005fjspx_005ftagPool_005fbean_005fwrite_005fscope_005fproperty_005fname_005fnobody.release();
_005fjspx_005ftagPool_005fhtml_005fform_005faction.release();
_005fjspx_005ftagPool_005fhtml_005fhidden_005fvalue_005fproperty_005fnobody.release();
_005fjspx_005ftagPool_005fhtml_005fcheckbox_005fproperty.release();
_005fjspx_005ftagPool_005flogic_005fnotPresent_005fname.release();
_005fjspx_005ftagPool_005fhtml_005ftext_005fproperty_005fmaxlength_005fnobody.release();
_005fjspx_005ftagPool_005fhtml_005ftextarea_005fproperty_005fnobody.release();
_005fjspx_005ftagPool_005fhtml_005fsubmit_005fvalue_005fnobody.release();
}
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=utf-8");
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("\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");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\r\n");
// html:html
org.apache.struts.taglib.html.HtmlTag _jspx_th_html_005fhtml_005f0 = (org.apache.struts.taglib.html.HtmlTag) _005fjspx_005ftagPool_005fhtml_005fhtml_005flang.get(org.apache.struts.taglib.html.HtmlTag.class);
_jspx_th_html_005fhtml_005f0.setPageContext(_jspx_page_context);
_jspx_th_html_005fhtml_005f0.setParent(null);
_jspx_th_html_005fhtml_005f0.setLang(true);
int _jspx_eval_html_005fhtml_005f0 = _jspx_th_html_005fhtml_005f0.doStartTag();
if (_jspx_eval_html_005fhtml_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write(" <head>\r\n");
out.write(" ");
if (_jspx_meth_html_005fbase_005f0(_jspx_th_html_005fhtml_005f0, _jspx_page_context))
return;
out.write("\r\n");
out.write(" \r\n");
out.write(" <title>SSPP学生软件发布平台</title>\r\n");
out.write("\r\n");
out.write("\t<meta http-equiv=\"pragma\" content=\"no-cache\">\r\n");
out.write("\t<meta http-equiv=\"cache-control\" content=\"no-cache\">\r\n");
out.write("\t<meta http-equiv=\"expires\" content=\"0\"> \r\n");
out.write("\t<meta http-equiv=\"keywords\" content=\"keyword1,keyword2,keyword3\">\r\n");
out.write("\t<meta http-equiv=\"description\" content=\"This is my page\">\r\n");
out.write("\t<!--\r\n");
out.write("\t<link rel=\"stylesheet\" type=\"text/css\" href=\"styles.css\">\r\n");
out.write("\t-->\r\n");
out.write(" </head>\r\n");
out.write(" \r\n");
out.write(" <body>\r\n");
out.write(" <a href=\"../index.jsp\">返回首页</a> | \r\n");
out.write(" <a href=\"../");
if (_jspx_meth_bean_005fwrite_005f0(_jspx_th_html_005fhtml_005f0, _jspx_page_context))
return;
out.write("\">返回</a>\r\n");
out.write(" \r\n");
out.write(" \t<h1>");
if (_jspx_meth_bean_005fwrite_005f1(_jspx_th_html_005fhtml_005f0, _jspx_page_context))
return;
out.write("</h1>\r\n");
out.write(" \t<h5>");
if (_jspx_meth_bean_005fwrite_005f2(_jspx_th_html_005fhtml_005f0, _jspx_page_context))
return;
out.write("</h5>\r\n");
out.write(" \t<p>");
out.print(TextAreaConventer.convertToHtml(((TProject)request.getAttribute("project")).getIntro()) );
out.write("</p> \r\n");
out.write(" \t");
if (_jspx_meth_logic_005fequal_005f0(_jspx_th_html_005fhtml_005f0, _jspx_page_context))
return;
out.write("\r\n");
out.write(" \t评论(");
if (_jspx_meth_bean_005fwrite_005f6(_jspx_th_html_005fhtml_005f0, _jspx_page_context))
return;
out.write(") | \r\n");
out.write(" \t浏览(");
if (_jspx_meth_bean_005fwrite_005f7(_jspx_th_html_005fhtml_005f0, _jspx_page_context))
return;
out.write(")\r\n");
out.write(" \t<hr>\r\n");
out.write(" \t<a name=\"comment\"></a>\r\n");
out.write(" \t");
// logic:notEqual
org.apache.struts.taglib.logic.NotEqualTag _jspx_th_logic_005fnotEqual_005f0 = (org.apache.struts.taglib.logic.NotEqualTag) _005fjspx_005ftagPool_005flogic_005fnotEqual_005fvalue_005fscope_005fname.get(org.apache.struts.taglib.logic.NotEqualTag.class);
_jspx_th_logic_005fnotEqual_005f0.setPageContext(_jspx_page_context);
_jspx_th_logic_005fnotEqual_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_005fhtml_005f0);
_jspx_th_logic_005fnotEqual_005f0.setName("count");
_jspx_th_logic_005fnotEqual_005f0.setScope("request");
_jspx_th_logic_005fnotEqual_005f0.setValue("0");
int _jspx_eval_logic_005fnotEqual_005f0 = _jspx_th_logic_005fnotEqual_005f0.doStartTag();
if (_jspx_eval_logic_005fnotEqual_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write(" \t \t<!-- 评论序号迭代 -->\r\n");
out.write(" \t\t");
TProject project = (TProject)request.getAttribute("project");
PageSeparator commentPage = (PageSeparator)request.getAttribute("page");
int count;
if(commentPage != null)
count = project.getCount() -
(commentPage.getCurrentPage() - 1 ) * commentPage.getSize();
else
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -