【Java开源代码栏目提醒】:以下是网学会员为您推荐的Java开源代码-voteSelectNumber$jsp.java,希望本篇文章对您学习有所帮助。
package org.apache.jsp;
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$jsp extends HttpJspBase {
static {
}
public voteSelectNumber$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/voteSelectNumber.jsp";from=(0,48);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=(15,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/voteSelectNumber.jsp";from=(15,2);to=(15,51)]
List list=(List)request.getAttribute("voteList");
// end
// HTML // begin [file="/jsp/frontNews/voteSelectNumber.jsp";from=(15,53);to=(25,0)]
out.write("\r\n<body>\r\n<div align=\"center\">\r\n <p>鏌ョ湅鏂伴椈浜虹墿</p>\r\n <p> </p>\r\n <table width=\"290\" border=\"3\" cellspacing=\"3\" cellpadding=\"3\">\r\n <tr>\r\n <td width=\"130\">浜虹墿濮撳悕</td>\r\n <td width=\"129\">绁ㄦ暟</td>\r\n </tr>\r\n");
// end
// begin [file="/jsp/frontNews/voteSelectNumber.jsp";from=(25,2);to=(27,0)]
for (int i=0;i<list.size();i++){
VoteActionForm vote=(VoteActionForm)list.get(i);
// end
// HTML // begin [file="/jsp/frontNews/voteSelectNumber.jsp";from=(27,2);to=(29,22)]
out.write("\r\n <tr>\r\n <td height=\"31\">");
// end
// begin [file="/jsp/frontNews/voteSelectNumber.jsp";from=(29,25);to=(29,39)]
out.print(vote.getName());
// end
// HTML // begin [file="/jsp/frontNews/voteSelectNumber.jsp";from=(29,41);to=(30,10)]
out.write("</td>\r\n <td>");
// end
// begin [file="/jsp/frontNews/voteSelectNumber.jsp";from=(30,13);to=(30,29)]
out.print(vote.getNumber());
// end
// HTML // begin [file="/jsp/frontNews/voteSelectNumber.jsp";from=(30,31);to=(32,0)]
out.write("</td>\r\n </tr>\r\n");
// end
// begin [file="/jsp/frontNews/voteSelectNumber.jsp";from=(32,2);to=(32,3)]
}
// end
// HTML // begin [file="/jsp/frontNews/voteSelectNumber.jsp";from=(32,5);to=(36,7)]
out.write("\r\n </table>\r\n </div>\r\n</body>\r\n</html>");
// 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);
}
}
}
上一篇:
VoteSelectAction.java
下一篇:
关于大学英语教学