hibernate+struts+dwr 登录源码
自己做的hibernate+struts+dwr登录,有爱好的兄弟可以拿去看看。不过记住把附件解压后的文件夹改个名称在导入项目否则的话可能会报异常哦。由于自己写这个的时候直接在e-shoppin项目里边写的一切解压后记住改下问件夹名称就改成e-shopping就行了本资料共包括以下附件:login\src\com\shoping\member\action\LoginAction.java
login\src\com\shoping\member\action\MemberRegisterAction.java
login\src\com\shoping\member\form\LoginForm.java
login\src\com\shoping\member\form\MemberRegisterForm.java
login\src\com\shoping\member\vo\MemberRegisterVO.hbm.xml
login\src\com\shoping\member\vo\MemberRegisterVO.java
login\src\com\shoping\utils\ExceptDB.java
login\src\com\shoping\utils\HibernateSessionFactory.java
login\src\com\shoping\utils\LoginDwr.java
login\src\ApplicationResources.properties
login\src\hibernate.cfg.xml
login\WebRoot\META-INF\MANIFEST.MF
login\WebRoot\WEB-INF\classes\com\shoping\member\action\LoginAction.class
login\WebRoot\WEB-INF\classes\com\shoping\member\action\MemberRegisterAction.class
login\WebRoot\WEB-INF\classes\com\shoping\member\form\LoginForm.class
login\WebRoot\WEB-INF\classes\com\shoping\member\form\MemberRegisterForm.class
login\WebRoot\WEB-INF\classes\com\shoping\member\vo\MemberRegisterVO.class
login\WebRoot\WEB-INF\classes\com\shoping\member\vo\MemberRegisterVO.hbm.xml
login\WebRoot\WEB-INF\classes\com\shoping\utils\ExceptDB.class
login\WebRoot\WEB-INF\classes\com\shoping\utils\HibernateSessionFactory.class
login\WebRoot\WEB-INF\classes\com\shoping\utils\LoginDwr.class
login\WebRoot\WEB-INF\classes\ApplicationResources.properties
login\WebRoot\WEB-INF\classes\hibernate.cfg.xml
login\WebRoot\WEB-INF\lib\dwr.jar
login\WebRoot\WEB-INF\lib\mysql-connector-java-5.0.8-bin.jar
login\WebRoot\WEB-INF\.struts-config.mex
login\WebRoot\WEB-INF\dwr.xml
login\WebRoot\WEB-INF\struts-bean.tld
login\WebRoot\WEB-INF\struts-config.xml
login\WebRoot\WEB-INF\struts-html.tld
(I made hibernate struts dwr login, and brothers who are interested can take a look. But remember to change the name of the folder after the attachment is unzipped before importing the project, otherwise an exception may be reported. Since I wrote this directly in the e-shoppin project, remember to change the folder name to e-shopping after decompressing it. This document includes the following attachments:
login\src\com\shoping\member\action\LoginAction.java
login\src\com\shoping\member\action\MemberRegisterAction.java
login\src\com\shoping\member\form\LoginForm.java
login\src\com\shoping\member\form\MemberRegisterForm.java
login\src\com\shoping\member\vo\MemberRegisterVO.hbm.xml
login\src\com\shoping\member\vo\MemberRegisterVO.java
login\src\com\shoping\utils\ExceptDB.java
login\src\com\shoping\utils\HibernateSessionFactory.java
login\src\com\shoping\utils\LoginDwr.java
login\src\ApplicationResources.properties
login\src\hibernate.cfg.xml
login\WebRoot\META-INF\MANIFEST.MF
login\WebRoot\WEB-INF\classes\com\shoping\member\action\LoginAction.class
login\WebRoot\WEB-INF\classes\com\shoping\member\action\MemberRegisterAction.class
login\WebRoot\WEB-INF\classes\com\shoping\member\form\LoginForm.class
login\WebRoot\WEB-INF\classes\com\shoping\member\form\MemberRegisterForm.class
login\WebRoot\WEB-INF\classes\com\shoping\member\vo\MemberRegisterVO.class
login\WebRoot\WEB-INF\classes\com\shoping\member\vo\MemberRegisterVO.hbm.xml
login\WebRoot\WEB-INF\classes\com\shoping\utils\ExceptDB.class
login\WebRoot\WEB-INF\classes\com\shoping\utils\HibernateSessionFactory.class
login\WebRoot\WEB-INF\classes\com\shoping\utils\LoginDwr.class
login\WebRoot\WEB-INF\classes\ApplicationResources.properties
login\WebRoot\WEB-INF\classes\hibernate.cfg.xml
login\WebRoot\WEB-INF\lib\dwr.jar
login\WebRoot\WEB-INF\lib\mysql-connector-java-5.0.8-bin.jar
login\WebRoot\WEB-INF\.struts-config.mex
login\WebRoot\WEB-INF\dwr.xml
login\WebRoot\WEB-INF\struts-bean.tld
login\WebRoot\WEB-INF\struts-config.xml
login\WebRoot\WEB-INF\struts-html.tld)
页:
[1]