hibernate+struts+dwr 源码(完善版)
这个源码是继上个版本hibernate+struts+dwr登录源码的一份补充完善版本,上个版本只对login.jsp做了简单的dwr验证,这个版本完善了代码使用dwr对注册页面进行验证对邮箱等进行了表单验证和对注册过的用户进行了简单的列表展现。希望对各位有所帮助。。感兴趣的朋友可以拿去看看。。这个是自己写的一个小示例!本资料共包括以下附件:e-shopping\src\com\shoping\member\action\LoginAction.java
e-shopping\src\com\shoping\member\action\MemberRegisterAction.java
e-shopping\src\com\shoping\member\action\UserInfoAction.java
e-shopping\src\com\shoping\member\form\LoginForm.java
e-shopping\src\com\shoping\member\form\MemberRegisterForm.java
e-shopping\src\com\shoping\member\vo\MemberRegisterVO.hbm.xml
e-shopping\src\com\shoping\member\vo\MemberRegisterVO.java
e-shopping\src\com\shoping\utils\CharacterEncodingFilter.java
e-shopping\src\com\shoping\utils\ExceptDB.java
e-shopping\src\com\shoping\utils\HibernateSessionFactory.java
e-shopping\src\com\shoping\utils\LoginDwr.java
e-shopping\src\com\shoping\utils\RegiesterDWR.java
e-shopping\src\ApplicationResources.properties
e-shopping\src\hibernate.cfg.xml
e-shopping\WebRoot\META-INF\MANIFEST.MF
e-shopping\WebRoot\WEB-INF\classes\com\shoping\member\action\LoginAction.class
e-shopping\WebRoot\WEB-INF\classes\com\shoping\member\action\MemberRegisterAction.class
e-shopping\WebRoot\WEB-INF\classes\com\shoping\member\action\UserInfoAction.class
e-shopping\WebRoot\WEB-INF\classes\com\shoping\member\form\LoginForm.class
e-shopping\WebRoot\WEB-INF\classes\com\shoping\member\form\MemberRegisterForm.class
e-shopping\WebRoot\WEB-INF\classes\com\shoping\member\vo\MemberRegisterVO.class
e-shopping\WebRoot\WEB-INF\classes\com\shoping\member\vo\MemberRegisterVO.hbm.xml
e-shopping\WebRoot\WEB-INF\classes\com\shoping\utils\CharacterEncodingFilter.class
e-shopping\WebRoot\WEB-INF\classes\com\shoping\utils\ExceptDB.class
e-shopping\WebRoot\WEB-INF\classes\com\shoping\utils\HibernateSessionFactory.class
e-shopping\WebRoot\WEB-INF\classes\com\shoping\utils\LoginDwr.class
e-shopping\WebRoot\WEB-INF\classes\com\shoping\utils\RegiesterDWR.class
e-shopping\WebRoot\WEB-INF\classes\ApplicationResources.properties
e-shopping\WebRoot\WEB-INF\classes\hibernate.cfg.xml
e-shopping\WebRoot\WEB-INF\lib\dwr.jar
(This source code is a supplementary and improved version of the hibernate struts dwr login source code of the previous version. The previous version only did a simple dwr verification for login.jsp. This version improves the code and uses dwr to verify the registration page and the mailbox. Form validation and simple list display for registered users. Hope to be helpful to you. . Interested friends can take a look. . This is a small example written by myself! This document includes the following attachments:
e-shopping\src\com\shoping\member\action\LoginAction.java
e-shopping\src\com\shoping\member\action\MemberRegisterAction.java
e-shopping\src\com\shoping\member\action\UserInfoAction.java
e-shopping\src\com\shoping\member\form\LoginForm.java
e-shopping\src\com\shoping\member\form\MemberRegisterForm.java
e-shopping\src\com\shoping\member\vo\MemberRegisterVO.hbm.xml
e-shopping\src\com\shoping\member\vo\MemberRegisterVO.java
e-shopping\src\com\shoping\utils\CharacterEncodingFilter.java
e-shopping\src\com\shoping\utils\ExceptDB.java
e-shopping\src\com\shoping\utils\HibernateSessionFactory.java
e-shopping\src\com\shoping\utils\LoginDwr.java
e-shopping\src\com\shoping\utils\RegisterDWR.java
e-shopping\src\ApplicationResources.properties
e-shopping\src\hibernate.cfg.xml
e-shopping\WebRoot\META-INF\MANIFEST.MF
e-shopping\WebRoot\WEB-INF\classes\com\shoping\member\action\LoginAction.class
e-shopping\WebRoot\WEB-INF\classes\com\shoping\member\action\MemberRegisterAction.class
e-shopping\WebRoot\WEB-INF\classes\com\shoping\member\action\UserInfoAction.class
e-shopping\WebRoot\WEB-INF\classes\com\shoping\member\form\LoginForm.class
e-shopping\WebRoot\WEB-INF\classes\com\shoping\member\form\MemberRegisterForm.class
e-shopping\WebRoot\WEB-INF\classes\com\shoping\member\vo\MemberRegisterVO.class
e-shopping\WebRoot\WEB-INF\classes\com\shoping\member\vo\MemberRegisterVO.hbm.xml
e-shopping\WebRoot\WEB-INF\classes\com\shoping\utils\CharacterEncodingFilter.class
e-shopping\WebRoot\WEB-INF\classes\com\shoping\utils\ExceptDB.class
e-shopping\WebRoot\WEB-INF\classes\com\shoping\utils\HibernateSessionFactory.class
e-shopping\WebRoot\WEB-INF\classes\com\shoping\utils\LoginDwr.class
e-shopping\WebRoot\WEB-INF\classes\com\shoping\utils\RegisterDWR.class
e-shopping\WebRoot\WEB-INF\classes\ApplicationResources.properties
e-shopping\WebRoot\WEB-INF\classes\hibernate.cfg.xml
e-shopping\WebRoot\WEB-INF\lib\dwr.jar)
页:
[1]