📄 _jutixinwen__jsp.java
字号:
/*
* JSP generated by Resin 2.1.4 (built Fri Aug 2 14:16:52 PDT 2002)
*/
import javax.servlet.*;
import javax.servlet.jsp.*;
import javax.servlet.http.*;
public class _jutixinwen__jsp extends com.caucho.jsp.JavaPage{
private boolean _caucho_isDead;
public void
_jspService(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException
{
com.caucho.jsp.QPageContext pageContext = (com.caucho.jsp.QPageContext) com.caucho.jsp.QJspFactory.create().getPageContext(this, request, response, null, true, 8192, true);
javax.servlet.jsp.JspWriter out = (javax.servlet.jsp.JspWriter) pageContext.getOut();
javax.servlet.ServletConfig config = getServletConfig();
javax.servlet.Servlet page = this;
javax.servlet.http.HttpSession session = pageContext.getSession();
javax.servlet.ServletContext application = pageContext.getServletContext();
response.setContentType("text/html; charset=GBK");
request.setCharacterEncoding("GBK");
try {
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
sk.frontBean news;
news = (sk.frontBean) pageContext.getAttribute("news");
if (news == null) {
news = new sk.frontBean();
pageContext.setAttribute("news", news);
}
pageContext.write(_jsp_string1, 0, _jsp_string1.length);
if(request.getParameter("id")==null)
response.sendRedirect("error.htm");
int id=Integer.parseInt(request.getParameter("id"));
int i;
pageContext.write(_jsp_string2, 0, _jsp_string2.length);
news.getLanmu1().open();
for(i=0;i<news.getLanmu1().rowCount();i++,news.getLanmu1().next())
{
pageContext.write(_jsp_string3, 0, _jsp_string3.length);
out.print((news.getLanmu1().getInt("id")));
pageContext.write(_jsp_string4, 0, _jsp_string4.length);
out.print((news.getLanmu1().getString("LanmuName")));
pageContext.write(_jsp_string5, 0, _jsp_string5.length);
}
news.getLanmu1().close();
pageContext.write(_jsp_string6, 0, _jsp_string6.length);
news.getChannel1().open();
for(i=0;i<news.getChannel1().rowCount();i++,news.getChannel1().next())
{
pageContext.write(_jsp_string3, 0, _jsp_string3.length);
out.print((news.getChannel1().getInt("id")));
pageContext.write(_jsp_string4, 0, _jsp_string4.length);
out.print((news.getChannel1().getString("ChannelName")));
pageContext.write(_jsp_string5, 0, _jsp_string5.length);
}
news.getChannel1().close();
pageContext.write(_jsp_string7, 0, _jsp_string7.length);
news.getDistinct().open();
for(i=0;i<news.getDistinct().rowCount();i++,news.getDistinct().next())
{
pageContext.write(_jsp_string3, 0, _jsp_string3.length);
out.print((news.getDistinct().getInt("id")));
pageContext.write(_jsp_string4, 0, _jsp_string4.length);
out.print((news.getDistinct().getString("DistinctName")));
pageContext.write(_jsp_string5, 0, _jsp_string5.length);
}
news.getDistinct().close();
pageContext.write(_jsp_string8, 0, _jsp_string8.length);
news.getNews().open();
for(i=0;i<news.getNews().getRowCount();i++)
{
if(news.getNews().getInt("id")==id)
{
out.print("<h3>"+news.getNews().getString("Title")+"</h3>");
break;
}
news.getNews().next();
}
pageContext.write(_jsp_string9, 0, _jsp_string9.length);
out.print((news.getNews().getString("Content")));
pageContext.write(_jsp_string10, 0, _jsp_string10.length);
news.getNews().close();
pageContext.write(_jsp_string11, 0, _jsp_string11.length);
} catch (java.lang.Throwable _jsp_e) {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -