文件名称:lab05Import
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:72.81kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
用户登录系统,为Web应用FileShare系统创建JSP页面,将Servlet中页面呈现(presentation)的内容转移到JSP。
将共享文件列表页面(filelist.jsp)中的文件列表改为动态显示内容,其数据通过一个JavaBean来获取。(只做模拟,暂不做数据库操作)
增加Web应用的异常处理。
为登录(login.jsp)和注册(register.jsp)实现表单验证。
在上次实验中我们少了一个很重要的环节,那就是表单验证,即验证输入数据的合法性。一般采取在客户端的Javascr ipt验证和服务器端验证的双重验证。这样确保进行数据库操作前数据的正确性。(数据库操作出现异常是绝对不允许出现的!)
在服务器端验证发现错误时,应返回注册页面提示错误信息,同时注意保留用户已经输入的信息。-User log in
将共享文件列表页面(filelist.jsp)中的文件列表改为动态显示内容,其数据通过一个JavaBean来获取。(只做模拟,暂不做数据库操作)
增加Web应用的异常处理。
为登录(login.jsp)和注册(register.jsp)实现表单验证。
在上次实验中我们少了一个很重要的环节,那就是表单验证,即验证输入数据的合法性。一般采取在客户端的Javascr ipt验证和服务器端验证的双重验证。这样确保进行数据库操作前数据的正确性。(数据库操作出现异常是绝对不允许出现的!)
在服务器端验证发现错误时,应返回注册页面提示错误信息,同时注意保留用户已经输入的信息。-User log in
(系统自动生成,下载前可以参看下载内容)
下载文件列表
FileShare/.classpath
FileShare/.project
FileShare/.settings/.jsdtscope
FileShare/.settings/org.eclipse.jdt.core.prefs
FileShare/.settings/org.eclipse.jst.common.project.facet.core.prefs
FileShare/.settings/org.eclipse.wst.common.component
FileShare/.settings/org.eclipse.wst.common.project.facet.core.xml
FileShare/.settings/org.eclipse.wst.jsdt.ui.superType.container
FileShare/.settings/org.eclipse.wst.jsdt.ui.superType.name
FileShare/src/chapter03/model/User.java
FileShare/src/chapter03/servlet/DownloadServlet.java
FileShare/src/chapter03/servlet/LoginServlet.java
FileShare/WebContent/filelist.htm
FileShare/WebContent/images/admin.css
FileShare/WebContent/images/core.css
FileShare/WebContent/images/dir.gif
FileShare/WebContent/images/hdr_loginpage_560x228.jpg
FileShare/WebContent/images/nit.gif
FileShare/WebContent/images/pageLogin.css
FileShare/WebContent/images/paypal.css
FileShare/WebContent/images/pdf.gif
FileShare/WebContent/images/pixel.gif
FileShare/WebContent/images/rar.gif
FileShare/WebContent/images/secure_lock_2.gif
FileShare/WebContent/images/Thumbs.db
FileShare/WebContent/images/txt.gif
FileShare/WebContent/images/xptCN.css
FileShare/WebContent/login.htm
FileShare/WebContent/META-INF/MANIFEST.MF
FileShare/WebContent/register.htm
FileShare/WebContent/WEB-INF/classes/chapter03/model/User.class
FileShare/WebContent/WEB-INF/classes/chapter03/servlet/DownloadServlet.class
FileShare/WebContent/WEB-INF/classes/chapter03/servlet/LoginServlet.class
FileShare/WebContent/WEB-INF/web.xml
FileShare/WebContent/WEB-INF/classes/chapter03/model
FileShare/WebContent/WEB-INF/classes/chapter03/servlet
FileShare/WebContent/WEB-INF/classes/chapter03
FileShare/src/chapter03/model
FileShare/src/chapter03/servlet
FileShare/WebContent/WEB-INF/classes
FileShare/WebContent/WEB-INF/lib
FileShare/src/chapter03
FileShare/WebContent/images
FileShare/WebContent/META-INF
FileShare/WebContent/WEB-INF
FileShare/.settings
FileShare/src
FileShare/WebContent
FileShare
FileShare/.project
FileShare/.settings/.jsdtscope
FileShare/.settings/org.eclipse.jdt.core.prefs
FileShare/.settings/org.eclipse.jst.common.project.facet.core.prefs
FileShare/.settings/org.eclipse.wst.common.component
FileShare/.settings/org.eclipse.wst.common.project.facet.core.xml
FileShare/.settings/org.eclipse.wst.jsdt.ui.superType.container
FileShare/.settings/org.eclipse.wst.jsdt.ui.superType.name
FileShare/src/chapter03/model/User.java
FileShare/src/chapter03/servlet/DownloadServlet.java
FileShare/src/chapter03/servlet/LoginServlet.java
FileShare/WebContent/filelist.htm
FileShare/WebContent/images/admin.css
FileShare/WebContent/images/core.css
FileShare/WebContent/images/dir.gif
FileShare/WebContent/images/hdr_loginpage_560x228.jpg
FileShare/WebContent/images/nit.gif
FileShare/WebContent/images/pageLogin.css
FileShare/WebContent/images/paypal.css
FileShare/WebContent/images/pdf.gif
FileShare/WebContent/images/pixel.gif
FileShare/WebContent/images/rar.gif
FileShare/WebContent/images/secure_lock_2.gif
FileShare/WebContent/images/Thumbs.db
FileShare/WebContent/images/txt.gif
FileShare/WebContent/images/xptCN.css
FileShare/WebContent/login.htm
FileShare/WebContent/META-INF/MANIFEST.MF
FileShare/WebContent/register.htm
FileShare/WebContent/WEB-INF/classes/chapter03/model/User.class
FileShare/WebContent/WEB-INF/classes/chapter03/servlet/DownloadServlet.class
FileShare/WebContent/WEB-INF/classes/chapter03/servlet/LoginServlet.class
FileShare/WebContent/WEB-INF/web.xml
FileShare/WebContent/WEB-INF/classes/chapter03/model
FileShare/WebContent/WEB-INF/classes/chapter03/servlet
FileShare/WebContent/WEB-INF/classes/chapter03
FileShare/src/chapter03/model
FileShare/src/chapter03/servlet
FileShare/WebContent/WEB-INF/classes
FileShare/WebContent/WEB-INF/lib
FileShare/src/chapter03
FileShare/WebContent/images
FileShare/WebContent/META-INF
FileShare/WebContent/WEB-INF
FileShare/.settings
FileShare/src
FileShare/WebContent
FileShare
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.