/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/8.0.23
* Generated at: 2017-05-06 11:22:50 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.WEB_002dINF.content;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class register_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent,
org.apache.jasper.runtime.JspSourceImports {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
static {
_jspx_imports_packages = new java.util.HashSet<>();
_jspx_imports_packages.add("javax.servlet");
_jspx_imports_packages.add("javax.servlet.http");
_jspx_imports_packages.add("javax.servlet.jsp");
_jspx_imports_classes = null;
}
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public java.util.Set<java.lang.String> getPackageImports() {
return _jspx_imports_packages;
}
public java.util.Set<java.lang.String> getClassImports() {
return _jspx_imports_classes;
}
public void _jspInit() {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
public void _jspDestroy() {
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
final java.lang.String _jspx_method = request.getMethod();
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method) && !javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET POST or HEAD");
return;
}
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html; charset=UTF-8");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n");
out.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\r\n");
out.write("<html>\r\n");
out.write("<head>\r\n");
out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\r\n");
out.write("<title>注册</title>\r\n");
out.write("<script type=\"text/javascript\" src=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
out.write("/js/jquery-3.2.1.min.js\"></script>\r\n");
out.write("\r\n");
out.write("</head>\r\n");
out.write("<body>\r\n");
out.write(" <center><h3>请注册</h3></center>\r\n");
out.write(" <div> \r\n");
out.write(" <form>\r\n");
out.write(" <input type=\"text\" id=\"username\" name=\"username\"/>\r\n");
out.write(" <input type=\"password\" id=\"password\" name=\"password\"/>\r\n");
out.write(" <a type=\"button\" onclick=\"submit()\">注册</a>\r\n");
out.write(" </form> \r\n");
out.write(" </div>\r\n");
out.write("</body>\r\n");
out.write("<script type=\"text/javascript\">\r\n");
out.write("//发送请求\r\n");
out.write("function submit(){\r\n");
out.write(" var username=$(\"#username\").val();\r\n");
out.write(" var password=$(\"#password\").val();\r\n");
out.write(" $.ajax({\r\n");
out.write(" url:'");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
out.write("/base/person_register.action',\r\n");
out.write(" type:'POST',\r\n");
out.write(" dataType:'json',\r\n");
out.write(" data:{\r\n");
out.write(" \tusername:username,\r\n");
out.write(" \tpassword:password\r\n");
out.write(" },\r\n");
out.write(" success:function(data){ \r\n");
out.write(" alert(\"ok\");\r\n");
out.write(" },\r\n");
out.write(" error:function(){\r\n");
out.write("\r\n");
out.write(" },\r\n");
out.write(" });\r\n");
out.write("}\r\n");
out.write("</script>\r\n");
out.write("</html>");
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try {
if (response.isCommitted()) {
out.flush();
} else {
out.clearBuffer();
}
} catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
SSH(Struts2,Spring,Hibernate)框架gradle项目源码
共102个文件
class:35个
java:19个
xml:14个
5星 · 超过95%的资源 需积分: 9 49 下载量 61 浏览量
2017-05-07
09:55:38
上传
评论 3
收藏 215KB RAR 举报
温馨提示
SSH(Struts2,Spring,Hibernate)框架gradle项目源码,注释较全
资源推荐
资源详情
资源评论
收起资源包目录
SSH(Struts2,Spring,Hibernate)框架gradle项目源码 (102个子文件)
gradlew.bat 2KB
fileSnapshots.bin 358KB
fileHashes.bin 29KB
taskArtifacts.bin 24KB
outputFileStates.bin 18KB
cert 546B
register_jsp.class 7KB
index_jsp.class 6KB
login_jsp.class 5KB
BaseDaoImpl.class 4KB
BaseDaoImpl.class 4KB
BaseServiceImpl.class 4KB
Goods.class 4KB
BaseServiceImpl.class 4KB
Goods.class 4KB
Person.class 3KB
Person.class 3KB
Category.class 3KB
Category.class 3KB
PersonAction.class 2KB
PersonAction.class 2KB
BaseAction.class 2KB
BaseAction.class 2KB
Interlocution.class 2KB
Interlocution.class 2KB
Message.class 2KB
Message.class 2KB
PersonServiceImpl.class 686B
PersonServiceImpl.class 686B
PersonDaoImpl.class 633B
PersonDaoImpl.class 633B
BaseService.class 578B
BaseService.class 578B
BaseDao.class 566B
BaseDao.class 566B
PersonService.class 377B
PersonService.class 377B
Picture.class 276B
Picture.class 276B
PersonDao.class 237B
PersonDao.class 237B
.classpath 831B
build.gradle 3KB
settings.gradle 649B
gradlew 5KB
gradle-wrapper.jar 52KB
register_jsp.java 7KB
index_jsp.java 5KB
login_jsp.java 5KB
BaseDaoImpl.java 4KB
BaseServiceImpl.java 3KB
Goods.java 3KB
Person.java 3KB
Category.java 2KB
BaseAction.java 2KB
PersonAction.java 2KB
Interlocution.java 2KB
Message.java 1KB
BaseDao.java 1KB
BaseService.java 754B
PersonServiceImpl.java 554B
PersonDaoImpl.java 534B
PersonService.java 414B
PersonDao.java 119B
Picture.java 56B
jquery-3.2.1.min.js 85KB
jquery-3.2.1.min.js 85KB
register.jsp 1KB
register.jsp 1KB
index.jsp 570B
index.jsp 570B
login.jsp 484B
login.jsp 484B
keystore 1KB
cache.properties.lock 17B
app.log 335KB
test.log 0B
gretty.plugin 291B
org.eclipse.buildship.core.prefs 442B
org.eclipse.jdt.core.prefs 177B
.project 618B
dbconf.properties 361B
dbconf.properties 361B
dbconf.properties 361B
properties 333B
gradle-wrapper.properties 237B
gretty_ports.properties 68B
cache.properties 31B
spring-config.xml 4KB
spring-config.xml 4KB
spring-config.xml 4KB
log4j2.xml 2KB
log4j2.xml 2KB
log4j2.xml 2KB
web.xml 2KB
web.xml 2KB
struts-base.xml 1KB
struts-base.xml 1KB
struts-base.xml 1KB
struts.xml 969B
共 102 条
- 1
- 2
资源评论
- 网络纠结2017-12-30换方式下载了吗?原来下载过现在不能下载了。
Qssn丶
- 粉丝: 60
- 资源: 33
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功