|
The highlight is indeed controlled by CSS, but how do I catch the wrong domain on the JSP page?
such as:
<div id = "userName _"> User Name: <html: text property = "userName" value = "" /> </ div>
If the verification is wrong, then you can display the error message through html: errors, but I also want to capture which area is wrong by my code, such as userName, so you can change the CSS of <div id = "userName _"> Or style to highlight. The question is, how can I catch which area is wrong with my own code.
If request.getAttribute (xxxxxxx) is used, what does xxxxxxx represent?
Thank you! |
|