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 {
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\n");
out.write("<html>\r\n");
out.write(" <head><title>登录页面</title>\r\n");
out.write(" <body>\r\n");
out.write(" <form method=\"POST\" action=\"servlet2\">\r\n");
out.write(" <table>\r\n");
out.write(" <tr>\r\n");
out.write(" <td>用户名:</td>\r\n");
out.write(" <td><input type=\"text\" name=\"username\"></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td>密码:</td>\r\n");
out.write(" \t <td><input type=\"password\" name=\"password\"></td>\r\n");
out.write(" \t </tr>\r\n");
out.write(" \t <tr>\r\n");
out.write(" <td>验证码:</td>\r\n");
out.write(" \t <td>\r\n");
out.write(" \t <input type=\"text\" name=\"random\" maxlength=\"4\">\r\n");
out.write(" \t <img src=\"servlet1\" alt=\"随机图\">\r\n");
out.write(" \t </td>\r\n");
out.write(" \t </tr>\r\n");
out.write(" \t <tr>\r\n");
out.write(" \t <td><input type=\"submit\" value=\"提交\"></td>\r\n");
out.write(" <td><input type=\"reset\" value=\"重填\"></td>\r\n");
out.write(" \t </tr>\r\n");
out.write("\t </table>\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 验证码案例
共47个文件
class:6个
java:4个
dep2:2个
3星 · 超过75%的资源 需积分: 10 39 下载量 56 浏览量
2008-06-30
23:01:32
上传
评论
收藏 43KB RAR 举报
温馨提示
实现注册验证功能!!<br> 通过随机产生验证信息!
资源推荐
资源详情
资源评论
收起资源包目录
randomcode.rar (47个子文件)
randomcode
Tomcat
work
WebModule1
org
apache
jsp
jsp1_jsp.java 3KB
jsp1_jsp.class 4KB
tldCache.ser 44B
webapps
Servlet.library 227B
randomcode.jpx.local~ 2KB
WebModule1
WEB-INF
web.xml 823B
classes
randomcode
Servlet1.class 3KB
Servlet2.class 2KB
jsp1.jsp 944B
bak
WebModule1
jsp1.jsp~5~ 931B
WEB-INF
web.xml~38~ 823B
web.xml~41~ 1KB
web.xml~43~ 1KB
web.xml~36~ 823B
web.xml~39~ 1KB
web.xml~42~ 823B
web.xml~44~ 823B
web.xml~37~ 1KB
web.xml~40~ 823B
web.xml~45~ 1KB
jsp1.jsp~4~ 928B
jsp1.jsp~3~ 927B
jsp1.jsp~2~ 927B
jsp1.jsp~1~ 181B
randomcode
Servlet1.java~20~ 3KB
Servlet1.java~22~ 3KB
Servlet1.java~28~ 3KB
Servlet1.java~26~ 3KB
Servlet1.java~23~ 3KB
Servlet1.java~27~ 3KB
Servlet1.java~21~ 3KB
Servlet1.java~29~ 3KB
Servlet1.java~24~ 3KB
Servlet2.java~3~ 952B
Servlet2.java~1~ 1KB
Servlet1.java~25~ 3KB
Servlet2.java~2~ 961B
randomcode.jpx 8KB
src
randomcode
Servlet2.java 944B
Servlet1.java 3KB
classes
Generated Source
.jsp
WebModule1
org
apache
jsp
jsp1_jsp.java 3KB
jsp cache
WebModule1
org
apache
jsp
jsp1_jsp.class 3KB
package cache
org.apache.jsp.dep2 2KB
package cache
randomcode.dep2 4KB
randomcode
Servlet1.class 3KB
Servlet2.class 2KB
randomcode.jpx.local 2KB
共 47 条
- 1
资源评论
- lyl_zsu_1232012-05-15不是源码,非常不行!!
java_accp
- 粉丝: 20
- 资源: 14
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功