package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class jsp1_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
//声明一常量
final String SF="";
//声明一个方法
public String cr(String SF){
String temp="";
temp=SF.substring(6,14);
return temp;
}
private static java.util.Vector _jspx_dependants;
public java.util.List getDependants() {
return _jspx_dependants;
}
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;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=GBK");
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');
out.write('\n');
out.write("\r\n");
out.write("<html>\r\n");
out.write("<head>\r\n");
out.write("<title>\r\n");
out.write("jsp1\r\n");
out.write("</title>\r\n");
out.write("</head>\r\n");
out.write("<body bgcolor=\"#00ffff\">\r\n");
out.write("<h1>\r\n");
out.write("显示结果\r\n");
out.write("</h1>\r\n");
String sf1="010020198810092211";
String newsf1=cr(sf1);
String sf2="010020199009302211";
String newsf2=cr(sf2);
out.write("\r\n");
out.write("\r\n");
out.write("<table>\r\n");
out.write(" <tr>\r\n");
out.write(" <td align=\"center\"> 身份证号</td>\r\n");
out.write(" <td align=\"center\"> 生 日</td>\r\n");
out.write(" </tr>\r\n");
out.write("\r\n");
out.write(" <tr>\r\n");
out.write(" <td> ");
out.print(sf1);
out.write("</td>\r\n");
out.write(" <td> ");
out.print(newsf1);
out.write("</td>\r\n");
out.write(" </tr>\r\n");
out.write("\r\n");
out.write(" <tr>\r\n");
out.write(" <td align=\"center\"> ");
out.print(sf2);
out.write("</td>\r\n");
out.write(" <td align=\"center\"> ");
out.print(newsf2);
out.write("</td>\r\n");
out.write(" </tr>\r\n");
out.write("\r\n");
out.write("</table>\r\n");
out.write("<form method=\"post\" action=\"jsp1.jsp\">\r\n");
out.write("<br><br>\r\n");
out.write("</form>\r\n");
out.write("</body>\r\n");
out.write("</html>\r\n");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
}
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
JAVA+jsp身份证验证的合法性
共28个文件
class:3个
java:3个
xml:2个
需积分: 22 9 下载量 98 浏览量
2011-08-01
10:28:46
上传
评论
收藏 25KB RAR 举报
温馨提示
通过验证的方式,验证身份证的生日年月以及身份证位数的合法性
资源推荐
资源详情
资源评论
收起资源包目录
jsp验证身份证号.rar (28个子文件)
身份证号
wd.jpx 8KB
Tomcat
conf
server8080.xml 915B
work
WebModule1
org
apache
jsp
jsp1_jsp.java 3KB
jsp1_jsp.class 4KB
tldCache.ser 44B
webapps
Servlet.library 227B
WebModule1
WEB-INF
web.xml 315B
jsp1.jsp 832B
wd.jpx.local 2KB
bak
WebModule1
jsp1.jsp~7~ 932B
jsp1.jsp~5~ 958B
WEB-INF
web.xml~4~ 829B
web.xml~1~ 315B
web.xml~3~ 829B
web.xml~2~ 315B
jsp1.jsp~4~ 922B
jsp1.jsp~3~ 887B
jsp1.jsp~2~ 886B
jsp1.jsp~9~ 930B
jsp1.jsp~1~ 328B
jsp1.jsp~8~ 931B
jsp1.jsp~6~ 1018B
wd.jpx.local~ 2KB
classes
Generated Source
.jsp
WebModule1
org
apache
jsp
jsp1_jsp.java 3KB
jsp2_jsp.java 2KB
jsp cache
WebModule1
org
apache
jsp
jsp1_jsp.class 4KB
jsp2_jsp.class 3KB
package cache
org.apache.jsp.dep2 5KB
共 28 条
- 1
资源评论
yazhen0607
- 粉丝: 10
- 资源: 16
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 2%EF%BC%9A%E9%99%95%E8%A5%BF%E
- yyspdz62_944.apk
- SAP公司间采购EDI配置-如何触发自动MIRO.docx
- python197基于图像识别的仪表实时监控系统.rar
- python196基于循环神经网络的情感分类系统.rar
- I2C驱动SHT30温湿度传感器和LCD12864使用例程(RSCG12864B)
- python193中学地理-中国的江河湖泊教学网(django).rar
- python191基于时间序列分析的大气污染预测软件(django).rar
- python190基于人脸识别智能化小区门禁管理系统.rar
- python189某医院体检挂号系统.rar
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功