📄 voteselectnumber_0002ejsp_jsp.java
字号:
package jsp.frontNews;
import com.victor.domain.VoteActionForm;
import java.sql.*;
import java.util.List;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
public class voteSelectNumber_0002ejsp_jsp extends HttpJspBase {
static {
}
public voteSelectNumber_0002ejsp_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=gb2312");
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/voteSelectNumber.jsp";from=(0,51);to=(1,0)]
out.write("\r\n");
// end
// HTML // begin [file="/jsp/frontNews/voteSelectNumber.jsp";from=(1,52);to=(2,0)]
out.write("\r\n");
// end
// HTML // begin [file="/jsp/frontNews/voteSelectNumber.jsp";from=(2,30);to=(3,0)]
out.write("\r\n");
// end
// HTML // begin [file="/jsp/frontNews/voteSelectNumber.jsp";from=(3,34);to=(24,0)]
out.write("\r\n<html>\r\n<head>\r\n<title>查看新闻人物</title>\r\n\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\"><style type=\"text/css\">\r\n<!--\r\nbody {\r\n\tmargin-left: 0px;\r\n\tmargin-top: 0px;\r\n}\r\ntd{\r\nfont-size:9pt;\r\n}\r\n.style1 {\r\n\tcolor: #FF9900;\r\n\tfont-style: italic;\r\n\tfont-weight: bold;\r\n}\r\n-->\r\n</style></head>\r\n");
// end
// begin [file="/jsp/frontNews/voteSelectNumber.jsp";from=(24,2);to=(24,51)]
List list=(List)request.getAttribute("voteList");
// end
// HTML // begin [file="/jsp/frontNews/voteSelectNumber.jsp";from=(24,53);to=(43,8)]
out.write("\r\n<body> \r\n<table width=\"570\" height=\"740\" border=\"0\" align=\"left\" cellpadding=\"2\" cellspacing=\"1\" bgcolor=\"#999999\"> \r\n <tr> \r\n <td width=\"571\" height=\"100\" align=\"center\" valign=\"top\" bgcolor=\"#FFFFFF\"> <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"> \r\n <tr> \r\n <td height=\"35\"> </td> \r\n </tr> \r\n <tr> \r\n <td background=\"jsp/images/line.jpg\"> ・<span class=\"style1\">查看投票人数</span></td> \r\n </tr> \r\n </table> \r\n <br> \r\n <br> \r\n <table width=\"290\" border=\"0\" cellpadding=\"2\" cellspacing=\"1\" bgcolor=\"#052754\"> \r\n <tr align=\"center\" bgcolor=\"#0099cc\"> \r\n <td width=\"130\" height=\"20\">人物姓名</td> \r\n <td width=\"129\">票数</td> \r\n </tr> \r\n ");
// end
// begin [file="/jsp/frontNews/voteSelectNumber.jsp";from=(43,10);to=(45,0)]
for (int i=0;i<list.size();i++){
VoteActionForm vote=(VoteActionForm)list.get(i);
// end
// HTML // begin [file="/jsp/frontNews/voteSelectNumber.jsp";from=(45,2);to=(47,26)]
out.write(" \r\n <tr bgcolor=\"#FFFFFF\"> \r\n <td height=\"24\">");
// end
// begin [file="/jsp/frontNews/voteSelectNumber.jsp";from=(47,29);to=(47,43)]
out.print(vote.getName());
// end
// HTML // begin [file="/jsp/frontNews/voteSelectNumber.jsp";from=(47,45);to=(48,14)]
out.write("</td> \r\n <td>");
// end
// begin [file="/jsp/frontNews/voteSelectNumber.jsp";from=(48,17);to=(48,33)]
out.print(vote.getNumber());
// end
// HTML // begin [file="/jsp/frontNews/voteSelectNumber.jsp";from=(48,35);to=(50,8)]
out.write("</td> \r\n </tr> \r\n ");
// end
// begin [file="/jsp/frontNews/voteSelectNumber.jsp";from=(50,10);to=(50,11)]
}
// end
// HTML // begin [file="/jsp/frontNews/voteSelectNumber.jsp";from=(50,13);to=(56,0)]
out.write(" \r\n </table></td> \r\n </tr> \r\n</table> \r\n</body>\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);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -