no mark system
2016-08-23
0 0 0
no vote
Other
Earn points
//3. If the validation succeeds, the calling servlet processes the registration request
try{
userForm.setId(userForm.generateID());
UserDaoImpl service=new UserDaoImpl();
service.add(userForm);
//4. If the servlet does not succeed, and the reason it doesn't work is that the user already exists, then jump back to the registration page displays the user name already exists
Request.setAttribute ("message", "registered user already exists");
try{
userForm.setId(userForm.generateID());
UserDaoImpl service=new UserDaoImpl();
service.add(userForm);
//4. If the servlet does not succeed, and the reason it doesn't work is that the user already exists, then jump back to the registration page displays the user name already exists
Request.setAttribute ("message", "registered user already exists");
java
Related Source Codes
Android AOA Android Open Accessory Development Usi
0
0
no vote
VPN source code accelerator
0
0
no vote
VPN source code
0
0
no vote
Springboot Campus Recruitment System
0
0
no vote
Java intelligent QR code access control management
0
0
no vote
No comment