【Java开源代码栏目提醒】:网学会员Java开源代码为您提供voteInsert$jsp.java参考,解决您在voteInsert$jsp.java学习中工作中的难题,参考学习。
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
public class voteInsert$jsp extends HttpJspBase {
static {
}
public voteInsert$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/managerBack/vote/voteInsert.jsp";from=(0,48);to=(84,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<script language=\"JavaScript\">\r\nfunction RgTest(){\r\nif(document.form.name.value==\"\"){\r\nwindow.alert(\"璇疯緭鍏ヤ汉鐗╁悕绉帮細\");\r\ndocument.form.name.focus();\r\nreturn false;\r\n}\r\n\r\nif(document.form.address.value==\"\"){\r\nwindow.alert(\"璇疯緭鍏ヤ汉鐗╃睄璐細\");\r\ndocument.form.address.focus();\r\nreturn false;\r\n}\r\n\r\nif(document.form.country.value==\"\"){\r\nwindow.alert(\"璇疯緭鍏ヤ汉鐗╁勾榫勶細\");\r\ndocument.form.country.focus();\r\nreturn false;\r\n}\r\n\r\nif(document.form.jop.value==\"\"){\r\nwindow.alert(\"璇疯緭鍏ヤ汉鐗╁伐浣滐細\");\r\ndocument.form.jop.focus();\r\nreturn false;\r\n}\r\n\r\nif(document.form.remark.value==\"\"){\r\nwindow.alert(\"璇疯緭鍏ヤ汉鐗╃畝鍗曚粙缁嶏細\");\r\ndocument.form.remark.focus();\r\nreturn false;\r\n}\r\n\r\nreturn true;\r\n}\r\n</script>\r\n<body>\r\n<div align=\"center\">娣诲姞鏂伴椈浜虹墿鐨勪俊鎭痋r\n <form action=\"../../../voteInsertAction.do\" onSubmit=\"return RgTest()\" method=\"post\" enctype=\"multipart/form-data\" name=\"form\">\r\n <p> </p>\r\n <table width=\"377\" border=\"3\" cellspacing=\"3\" cellpadding=\"3\">\r\n <tr>\r\n <td width=\"107\">浜虹墿鍥剧墖</td>\r\n <td width=\"239\"> </td>\r\n </tr>\r\n <tr>\r\n <td>浜虹墿鍚嶇О</td>\r\n <td><input type=\"text\" name=\"name\"></td>\r\n </tr>\r\n <tr>\r\n <td>浜虹墿绫嶈疮</td>\r\n <td><input type=\"text\" name=\"address\"></td>\r\n </tr>\r\n <tr>\r\n <td>浜虹墿骞撮緞</td>\r\n <td><input type=\"text\" name=\"country\"></td>\r\n </tr>\r\n <tr>\r\n <td>浜虹墿宸ヤ綔</td>\r\n <td><input type=\"text\" name=\"jop\"></td>\r\n </tr>\r\n <tr>\r\n <td height=\"80\">绠鍗曚粙缁?/td>\r\n <td><textarea name=\"remark\"></textarea></td>\r\n </tr>\r\n </table> \r\n\t<input type=\"submit\" name=\"Submit2\" value=\"鎻愪氦\">\r\n\t \r\n <input type=\"reset\" name=\"Submit\" value=\"閲嶇疆\">\r\n </form>\r\n</div>\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);
}
}
}