【Java开源代码栏目提醒】:网学会员在Java开源代码频道为大家收集整理了voteSelect$jsp.java提供大家参考,希望对大家有所帮助!
package org.apache.jsp;
import com.victor.domain.VoteActionForm;
import java.
sql.*;
import java.util.List;
import com.victor.tool.SessionLib;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
public class voteSelect$jsp extends HttpJspBase {
static {
}
public voteSelect$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/voteSelect.jsp";from=(0,48);to=(1,0)]
out.write("\r\n");
// end
// HTML // begin [file="/jsp/frontNews/voteSelect.jsp";from=(1,52);to=(2,0)]
out.write("\r\n");
// end
// HTML // begin [file="/jsp/frontNews/voteSelect.jsp";from=(2,30);to=(3,0)]
out.write("\r\n");
// end
// HTML // begin [file="/jsp/frontNews/voteSelect.jsp";from=(3,34);to=(4,0)]
out.write("\r\n");
// end
// HTML // begin [file="/jsp/frontNews/voteSelect.jsp";from=(4,46);to=(16,0)]
out.write("\r\n<html>\r\n<head>\r\n\r\n<title>鏌ョ湅鏂伴椈浜虹墿</title>\r\n<style type=\"text/css\">\r\n<!--\r\nbody {\r\n\tbackground-color: #FFFFCC;\r\n}\r\n-->\r\n</style></head>\r\n");
// end
// begin [file="/jsp/frontNews/voteSelect.jsp";from=(16,2);to=(16,51)]
List list=(List)request.getAttribute("voteList");
// end
// HTML // begin [file="/jsp/frontNews/voteSelect.jsp";from=(16,53);to=(21,0)]
out.write("\r\n<body>\r\n<div align=\"center\">\r\n <p>鏌ョ湅鏂伴椈浜虹墿</p>\r\n <p> </p>\r\n");
// end
// begin [file="/jsp/frontNews/voteSelect.jsp";from=(21,2);to=(25,0)]
SessionLib sl;
sl=(SessionLib)session.getValue(session.getId());
if(sl==null){
// end
// HTML // begin [file="/jsp/frontNews/voteSelect.jsp";from=(25,2);to=(35,0)]
out.write("\r\n <table width=\"700\" border=\"3\" cellspacing=\"3\" cellpadding=\"3\">\r\n <tr>\r\n <td width=\"72\">浜虹墿濮撳悕</td>\r\n <td width=\"72\">浜虹墿绫嶈疮</td>\r\n\t <td width=\"72\">浜虹墿骞撮緞</td>\r\n\t <td width=\"72\">浜虹墿宸ヤ綔</td>\r\n\t\t <td width=\"72\">浜虹墿绠浠?/td>\r\n <td width=\"122\">鎿嶄綔</td>\r\n </tr>\r\n");
// end
// begin [file="/jsp/frontNews/voteSelect.jsp";from=(35,2);to=(37,0)]
for (int i=0;i<list.size();i++){
VoteActionForm vote=(VoteActionForm)list.get(i);
// end
// HTML // begin [file="/jsp/frontNews/voteSelect.jsp";from=(37,2);to=(39,22)]
out.write("\r\n <tr>\r\n <td height=\"31\">");
// end
// begin [file="/jsp/frontNews/voteSelect.jsp";from=(39,25);to=(39,39)]
out.print(vote.getName());
// end
//
HTML // begin [file="/jsp/frontNews/voteSelect.jsp";from=(39,41);to=(40,10)]
out.write("</td>\r\n <td>");
// end
// begin [file="/jsp/frontNews/voteSelect.jsp";from=(40,13);to=(40,30)]
out.print(vote.getAddress());
// end
// HTML // begin [file="/jsp/frontNews/voteSelect.jsp";from=(40,32);to=(41,10)]
out.write("</td>\r\n <td>");
// end
// begin [file="/jsp/frontNews/voteSelect.jsp";from=(41,13);to=(41,30)]
out.print(vote.getCountry());
// end
// HTML // begin [file="/jsp/frontNews/voteSelect.jsp";from=(41,32);to=(42,10)]
out.write("</td>\r\n <td>");
// end
// begin [file="/jsp/frontNews/voteSelect.jsp";from=(42,13);to=(42,26)]
out.print(vote.getJop());
// end
// HTML // begin [file="/jsp/frontNews/voteSelect.jsp";from=(42,28);to=(43,10)]
out.write("</td>\r\n <td>");
// end
// begin [file="/jsp/frontNews/voteSelect.jsp";from=(43,13);to=(43,29)]
out.print(vote.g