Reply To: Spring JSF with Pretty Faces

Splash Forums Rewrite Users Spring JSF with Pretty Faces Reply To: Spring JSF with Pretty Faces

#25611

kmraun
Participant

Thank you..

1. users do not enter direct url like /example1/{session}/home.xhtml instead of /example1/home.xhtml. How to validate?

2. I am asking How to use Validator interface

public class UserValidator implements Validator<UserSessionJ> {

@Override
public boolean isValid(Rewrite rwrt, EvaluationContext ec, UserSessionJ t) {

boolean isValid = true;

return isValid;

}

}