Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- http://txt2re.com/index-java.php3?s=te.com%23st@test.com&15&31&10&30&14&-33&7&-32&11
- Controller:
- boolean IsError = false;
- if (ServiceIsFirstNameCorrect) {
- setAttribute("firstNameIsError", "error message")
- IsError = true;
- }
- if (ServiceIsLastNameCorrect) {
- setAttribute("lastNameIsError")
- IsError = true;
- }
- ...
- if (IsError == false) {
- ServiceAddEmployee()
- setAttribute("SuccessMessage", "Name has been registered.")
- forward = "listemployee.jsp"
- } else {
- forward = "add/edit.jsp"
- }
- ([!a-zA-Z0-9_\.\+-]|[#a-zA-Z0-9_\.
- http://regexr.com/
- valid
- 9test@test.com
- test9@test.com
- test@9test.com
- test@test9.com
- te.st@test.com
- !test@test.com
- a@a.ab
- test!@test.com
- te.com#st@test.com
- test@test-.com
- te!st@test.com
- test@test.com.ph
- test@test.com
- a@a.com
- invalid
- test@test.9com
- test@test.com9
- te@st@test.com
- test.@test.com
- test@.test.com
- test@test..com
- a@a.a
- [existing email]
- test@test.com.
- .test@test.com
- test@test.-com
- test@test!.com
- test@test.com!
- test@!test.com
- @a.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement