📄 left_0002ejsp_jsp.java
字号:
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
import java.util.Collection;
import java.util.Iterator;
import com.bwm.core.BasetableFactory;
import com.bwm.model.*;
public class left_0002ejsp_jsp extends HttpJspBase {
private static java.util.Vector _jspx_includes;
public java.util.List getIncludes() {
return _jspx_includes;
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
javax.servlet.jsp.PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=GBK");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
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("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=GBK\">\r\n");
out.write("<link href=\"css/style.css\" rel=\"stylesheet\" type=\"text/css\">\r\n");
BasetableFactory bf=BasetableFactory.getInstance();
out.write("\r\n");
out.write("<table width=\"230\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"tableBorder_LRB_dashed\">\r\n ");
out.write("<tr>\r\n ");
out.write("<td width=\"233\" height=\"67\" colspan=\"2\" background=\"images/index_bbs.gif\"> ");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("<tr>\r\n ");
out.write("<td align=\"right\" valign=\"top\">");
out.write("<table width=\"180\" border=\"0\" align=\"right\" cellpadding=\"0\" cellspacing=\"0\">\r\n ");
Collection coll=bf.ListAffiche("ORDER BY atime desc");
if(coll==null||coll.size()<0||coll.isEmpty()){
out.write("\r\n ");
out.write("<tr>\r\n ");
out.write("<td height=\"25\" >没有公告内容");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
}else{ Iterator it=coll.iterator(); while(it.hasNext()){ Affiche l=(Affiche)it.next();
out.write("\r\n ");
out.write("<tr>\r\n ");
out.write("<td height=\"25\" valign=\"middle\" >");
out.write("<img src=\"images/rect.gif\" width=\"4\" height=\"4\" border=\"0\"> ");
out.write("<a class=\"delink\" href=\"#\" onClick=\"javascript:window.open('affiche.jsp?aid=");
out.print(l.getAid());
out.write("','Menuhead','location=no,scrollbars=no,menubars=no,toolbars=no,resizable=yes,left=200,top=200,width=500,height=300');\">");
out.print(l.getTitle());
out.write("</a>");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
}}
out.write("\r\n ");
out.write("</table>");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("<tr>\r\n ");
out.write("<td height=\"67\" background=\"images/index_tools_dlS.gif\"> ");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("<tr>\r\n ");
out.write("<td align=\"right\" valign=\"top\">");
out.write("<table width=\"180\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n ");
Collection coll2=bf.ListSoft(0,"ORDER BY loadnum DESC");
if(coll2==null||coll2.size()<0){
out.write("\r\n ");
out.write("<tr>\r\n ");
out.write("<td height=\"25\">没有产品下载");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
}else{ Iterator it=coll2.iterator();
while(it.hasNext()){ Soft l=(Soft)it.next();
out.write("\r\n ");
out.write("<tr>\r\n ");
out.write("<td height=\"25\">");
out.write("<img src=\"images/rect.gif\" width=\"4\" height=\"4\" border=\"0\"> ");
out.print(l.getName());
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
}}
out.write("\r\n ");
out.write("</table>");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("<tr>\r\n ");
out.write("<td height=\"67\" background=\"images/index_mend_dlS.gif\"> ");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("<tr>\r\n ");
out.write("<td align=\"right\" valign=\"top\">");
out.write("<table width=\"180\" border=\"0\" align=\"right\" cellpadding=\"0\" cellspacing=\"0\">\r\n ");
Collection coll3=bf.ListMend(0,"ORDER BY loadnum DESC");if(coll3==null||coll3.size()<0){
out.write("\r\n ");
out.write("<tr>\r\n ");
out.write("<td height=\"25\">没有工具补丁下载");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
}else{ Iterator it=coll3.iterator();
while(it.hasNext()){ Mend l=(Mend)it.next();
out.write("\r\n ");
out.write("<tr>\r\n ");
out.write("<td height=\"25\">");
out.write("<img src=\"images/rect.gif\" width=\"4\" height=\"4\" border=\"0\"> ");
out.print(l.getName());
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
}}
out.write("\r\n ");
out.write("</table>");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("<tr>\r\n ");
out.write("<td height=\"66\" background=\"images/index_friendlink.gif\"> ");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("<tr>\r\n ");
out.write("<td align=\"right\" valign=\"top\">");
out.write("<table width=\"180\" border=\"0\" align=\"right\" cellpadding=\"0\" cellspacing=\"0\">\r\n ");
Collection coll4=bf.ListLink(0,"ORDER BY ltime desc");if(coll4==null||coll4.size()<0){
out.write("\r\n ");
out.write("<tr>\r\n ");
out.write("<td height=\"25\">没有友情链接");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
}else{ Iterator it=coll4.iterator(); while(it.hasNext()){ Link l=(Link)it.next();
out.write("\r\n ");
out.write("<tr>\r\n ");
out.write("<td height=\"25\">");
out.write("<img src=\"images/rect.gif\" width=\"4\" height=\"4\" border=\"0\"> ");
out.write("<a href=\"");
out.print(l.getUrl());
out.write("\" target=\"_parter\" class=\"delink\">");
out.print(l.getName());
out.write("</a>");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
}}
out.write("\r\n ");
out.write("</table>");
out.write("</td>\r\n ");
out.write("</tr>\r\n");
out.write("</table>\r\n");
} catch (Throwable t) {
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (pageContext != null) pageContext.handlePageException(t);
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -