📄 project_jsp.java
字号:
package org.apache.jsp.proj_005fjsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import edu.neu.sspp.hibernate.TProject;
import edu.neu.sspp.TextAreaConventer;
public final class project_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_005flogic_005fequal_005fvalue_005fscope_005fname;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fbean_005fwrite_005fname_005fnobody;
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_005fbean_005fwrite_005fproperty_005fname_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_005flogic_005fequal_005fvalue_005fscope_005fname = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fbean_005fwrite_005fname_005fnobody = 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_005fbean_005fwrite_005fproperty_005fname_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_005flogic_005fequal_005fvalue_005fscope_005fname.release();
_005fjspx_005ftagPool_005fbean_005fwrite_005fname_005fnobody.release();
_005fjspx_005ftagPool_005flogic_005fnotEqual_005fvalue_005fscope_005fname.release();
_005fjspx_005ftagPool_005flogic_005fiterate_005fscope_005fname_005fid.release();
_005fjspx_005ftagPool_005fbean_005fwrite_005fproperty_005fname_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("<!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("\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(" <!-- 判断session中的id -->\r\n");
out.write(" ");
if (_jspx_meth_logic_005fequal_005f0(_jspx_th_html_005fhtml_005f0, _jspx_page_context))
return;
out.write("\r\n");
out.write("\r\n");
out.write(" ");
if (_jspx_meth_logic_005fnotEqual_005f0(_jspx_th_html_005fhtml_005f0, _jspx_page_context))
return;
out.write("\r\n");
out.write(" <!-- 迭代集合的方法! -->\r\n");
out.write(" ");
// logic:iterate
org.apache.struts.taglib.logic.IterateTag _jspx_th_logic_005fiterate_005f0 = (org.apache.struts.taglib.logic.IterateTag) _005fjspx_005ftagPool_005flogic_005fiterate_005fscope_005fname_005fid.get(org.apache.struts.taglib.logic.IterateTag.class);
_jspx_th_logic_005fiterate_005f0.setPageContext(_jspx_page_context);
_jspx_th_logic_005fiterate_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_005fhtml_005f0);
_jspx_th_logic_005fiterate_005f0.setId("project");
_jspx_th_logic_005fiterate_005f0.setScope("request");
_jspx_th_logic_005fiterate_005f0.setName("projects");
int _jspx_eval_logic_005fiterate_005f0 = _jspx_th_logic_005fiterate_005f0.doStartTag();
if (_jspx_eval_logic_005fiterate_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
java.lang.Object project = null;
if (_jspx_eval_logic_005fiterate_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
out = _jspx_page_context.pushBody();
_jspx_th_logic_005fiterate_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
_jspx_th_logic_005fiterate_005f0.doInitBody();
}
project = (java.lang.Object) _jspx_page_context.findAttribute("project");
do {
out.write("\r\n");
out.write(" \t<h1><a href=\"../");
if (_jspx_meth_bean_005fwrite_005f8(_jspx_th_logic_005fiterate_005f0, _jspx_page_context))
return;
out.write('/');
if (_jspx_meth_bean_005fwrite_005f9(_jspx_th_logic_005fiterate_005f0, _jspx_page_context))
return;
out.write("\">\r\n");
out.write(" \t");
if (_jspx_meth_bean_005fwrite_005f10(_jspx_th_logic_005fiterate_005f0, _jspx_page_context))
return;
out.write("</a></h1>\r\n");
out.write(" \t<h5>");
if (_jspx_meth_bean_005fwrite_005f11(_jspx_th_logic_005fiterate_005f0, _jspx_page_context))
return;
out.write("</h5>\r\n");
out.write(" \t<p>\r\n");
out.write(" \t\t");
//控制输出字数
String intro = TextAreaConventer.convertToHtml(((TProject)project).getIntro());
if(intro.length() > 200)
out.write(intro.substring(0, 200) + "<br>... ...");
else
out.write(intro);
out.write("\r\n");
out.write(" \t</p> \r\n");
out.write(" \t");
if (_jspx_meth_logic_005fequal_005f9(_jspx_th_logic_005fiterate_005f0, _jspx_page_context))
return;
out.write("\r\n");
out.write(" \t<a href=\"../");
if (_jspx_meth_bean_005fwrite_005f15(_jspx_th_logic_005fiterate_005f0, _jspx_page_context))
return;
out.write('/');
if (_jspx_meth_bean_005fwrite_005f16(_jspx_th_logic_005fiterate_005f0, _jspx_page_context))
return;
out.write("#comment\">评论(");
if (_jspx_meth_bean_005fwrite_005f17(_jspx_th_logic_005fiterate_005f0, _jspx_page_context))
return;
out.write(")</a> | \r\n");
out.write(" \t<a href=\"../");
if (_jspx_meth_bean_005fwrite_005f18(_jspx_th_logic_005fiterate_005f0, _jspx_page_context))
return;
out.write('/');
if (_jspx_meth_bean_005fwrite_005f19(_jspx_th_logic_005fiterate_005f0, _jspx_page_context))
return;
out.write("\">浏览(");
if (_jspx_meth_bean_005fwrite_005f20(_jspx_th_logic_005fiterate_005f0, _jspx_page_context))
return;
out.write(")</a>\r\n");
out.write(" \t<hr>\r\n");
out.write(" ");
int evalDoAfterBody = _jspx_th_logic_005fiterate_005f0.doAfterBody();
project = (java.lang.Object) _jspx_page_context.findAttribute("project");
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
if (_jspx_eval_logic_005fiterate_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
out = _jspx_page_context.popBody();
}
}
if (_jspx_th_logic_005fiterate_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005flogic_005fiterate_005fscope_005fname_005fid.reuse(_jspx_th_logic_005fiterate_005f0);
return;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -