Its working now, User class must be Serializable. But Why it matters for
Validation??
Since we want to persist User class it must be serializable
But why Validation was not working???
Why Validation requires a Serializable class???
Just for curiosity...
spsarolkar wrote:
>
> Hi, thanks I
Hi, thanks I missed that..
But now validation is no working/partially working i.e. when i submit
invalid values i am redirected to input result but messages are not printed.
Also values are not inserted to database. Here are modified files
UpdateUserAction.java wrote:
>
> @ParentPackage("base-p
spsarolkar wrote:
public void prepare(){
if(emailId==null){
this.user=new User();
}
else{
this.user=userService.findByEmail(emailId);
}
}
So if emailId is null you construct a new one, but if it is not null and
findB
3 matches
Mail list logo