📄 affiche_0002ejsp_jsp.java
字号:
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
import com.bwm.model.Affiche;
import com.bwm.core.*;
import java.util.*;
public class affiche_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("<html>\r\n");
out.write("<head>\r\n");
out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=GBK\">\r\n");
out.write("<title>查看公告详细内容");
out.write("</title>\r\n");
out.write("</head>\r\n");
out.write("<link href=\"css/css.css\" rel=\"stylesheet\" type=\"text/css\">\r\n");
out.write("<body> \r\n");
out.write("<table width=\"100%\" height=\"100%\" border=\"1\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\"> \r\n ");
out.write("<tr align=\"center\"> \r\n ");
out.write("<td height=\"30\" colspan=\"2\" class=\"TableTitle1\" >公告详细信息");
out.write("</td> \r\n ");
out.write("</tr> \r\n ");
BasetableFactory bf=BasetableFactory.getInstance();
String aid=ParamUtils.getRequestString(request,"aid");
Affiche a=bf.SearchAffiche("WHERE aid='"+aid+"'");if(a!=null&&a.getAid()>0){
out.write(" \r\n ");
out.write("<tr align=\"center\"> \r\n ");
out.write("<td height=\"27\" colspan=\"2\">");
out.print(a.getTitle());
out.write("</td> \r\n ");
out.write("</tr> \r\n ");
out.write("<tr align=\"left\" valign=\"top\"> \r\n ");
out.write("<td colspan=\"2\"> ");
out.print(a.getContent());
out.write("</td> \r\n ");
out.write("</tr> \r\n ");
out.write("<tr align=\"center\"> \r\n ");
out.write("<td width=\"40%\" height=\"27\">发布人");
out.write("</td> \r\n ");
out.write("<td width=\"60%\" height=\"7\" align=\"left\"> ");
out.print(bf.SearchUser("WHERE uid='"+a.getUid()+"'").getName());
out.write("</td> \r\n ");
out.write("</tr> \r\n ");
out.write("<tr align=\"center\"> \r\n ");
out.write("<td height=\"27\">发布时间");
out.write("</td> \r\n ");
out.write("<td height=\"3\" align=\"left\"> ");
out.print(a.getAtime());
out.write("</td> \r\n ");
out.write("</tr> ");
}
out.write(" \r\n ");
out.write("<tr align=\"center\"> \r\n ");
out.write("<td height=\"30\" colspan=\"2\">");
out.write("<a onClick=\"javascript:window.close();\">");
out.write("<img src=\"images/close.gif\" border=\"0\">");
out.write("</a>");
out.write("</td> \r\n ");
out.write("</tr> \r\n");
out.write("</table> \r\n");
out.write("</body>\r\n");
out.write("</html>\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 + -