【Java开源代码栏目提醒】:网学会员在Java开源代码频道为大家收集整理了watchNews$jsp.java提供大家参考,希望对大家有所帮助!
package org.apache.jsp;
import java.sql.*;
import java.util.List;
import com.victor.domain.NewsActionForm;
import com.victor.tool.Chinese;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
public class watchNews$jsp extends HttpJspBase {
static {
}
public watchNews$jsp( ) {
}
private static boolean _jspx_inited = false;
public final void _jspx_init() throws org.apache.jasper.runtime.JspException {
}
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;
String _value = null;
try {
if (_jspx_inited == false) {
synchronized (this) {
if (_jspx_inited == false) {
_jspx_init();
_jspx_inited = true;
}
}
}
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=GBK");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
// HTML // begin [file="/jsp/frontNews/watchNews.jsp";from=(0,48);to=(1,0)]
out.write("\r\n");
// end
// HTML // begin [file="/jsp/frontNews/watchNews.jsp";from=(1,30);to=(2,0)]
out.write("\r\n");
// end
// HTML // begin [file="/jsp/frontNews/watchNews.jsp";from=(2,34);to=(3,0)]
out.write("\r\n");
// end
// HTML // begin [file="/jsp/frontNews/watchNews.jsp";from=(3,52);to=(4,0)]
out.write("\r\n");
// end
// HTML // begin [file="/jsp/frontNews/watchNews.jsp";from=(4,43);to=(9,0)]
out.write("\r\n<html>\r\n<head>\r\n<title>鍓嶅彴鏄剧ず鏂伴椈</title>\r\n</head>\r\n");
// end
// begin [file="/jsp/frontNews/watchNews.jsp";from=(9,2);to=(9,32)]
Chinese chinese=new Chinese();
// end
// HTML // begin [file="/jsp/frontNews/watchNews.jsp";from=(9,34);to=(12,5)]
out.write("\r\n<body bgcolor=\"#ffffc0\">\r\n<div align=\"center\">\r\n <p>");
// end
// begin [file="/jsp/frontNews/watchNews.jsp";from=(12,8);to=(12,49)]
out.print(chinese.str(request.getParameter("type")));
// end
// HTML // begin [file="/jsp/frontNews/watchNews.jsp";from=(12,51);to=(20,0)]
out.write("</p>\r\n <p> </p>\r\n <table width=\"464\" border=\"3\" cellspacing=\"3\" cellpadding=\"3\">\r\n <tr>\r\n <td width=\"113\">鏂伴椈棰樼洰</td>\r\n <td width=\"113\">鏂伴椈璇︾粏绫诲埆</td>\r\n <td width=\"196\">鎿嶄綔</td>\r\n </tr>\r\n");
// end
// begin [file="/jsp/frontNews/watchNews.jsp";from=(20,2);to=(20,50)]
List list=(List)request.getAttribute("listNew");
// end
// HTML // begin [file="/jsp/frontNews/watchNews.jsp";from=(20,52);to=(21,0)]
out.write("\r\n");
// end
// begin [file="/jsp/frontNews/watchNews.jsp";from=(21,2);to=(23,0)]
for(int i=0;i<list.size();i++)
{ NewsActionForm newsAction=(NewsActionForm)list.get(i);
// end
// HTML // begin [file="/jsp/frontNews/watchNews.jsp";from=(23,2);to=(25,10)]
out.write("\r\n <tr>\r\n <td>");
// end
// begin [file="/jsp/frontNews/watchNews.jsp";from=(25,13);to=(25,37)]
out.print(newsAction.getNewTitle());
// end
// HTML // begin [file="/jsp/frontNews/watchNews.jsp";from=(25,39);to=(26,10)]
out.write("</td>\r\n <td>");
// end
// begin [file="/jsp/frontNews/watchNews.jsp";from=(26,13);to=(26,38)]
out.print(newsAction.getNewsStyle());
// end
// HTML // begin [file="/jsp/frontNews/watchNews.jsp";from=(26,40);to=(27,37)]
out.write("</td>\r\n <td><a href=\"newsContent.do?ID=");
// end
// begin [file="/jsp/frontNews/watchNews.jsp";from=(27,40);to=(27,61)]
out.print(newsAction.getNewID());
// end
// HTML // begin [file="/jsp/frontNews/watchNews.jsp";from=(27,63);to=(28,9)]
out.write("\">鏌ョ湅鏂伴椈鐨勮缁嗗唴瀹?/a></td>\r\n </tr>");
// end
// begin [file="/jsp/frontNews/watchNews.jsp";from=(28,11);to=(28,12)]
}
// end
// HTML // begin [file="/jsp/frontNews/watchNews.jsp";from=(28,14);to=(36,0)]
out.write("\r\n </table>\r\n <p> </p>\r\n</div>\r\n<h1> </h1>\r\n</body>\r\n\r\n</html>\r\n");
// end
} catch (Throwable t) {
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (pageContext != null) pageContext.handlePageException(t);
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
}
}
}
上一篇:
Watcher.java
下一篇:
关于大学英语教学