Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes Highlight A text field description when error happens. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Highlight A text field description when error happens." Watch "Highlight A text field description when error happens." New topic
Author

Highlight A text field description when error happens.

victor chiong
Ranch Hand

Joined: Apr 04, 2012
Posts: 73
Hi Guys,

I am stuck.... I need to change the error of the field discription when error happens.. I have researched but I could not find anything that I can understand..

Nearest solution to my problem --> this is what i meant but i dont know how to add error class to this field.

Any advice on this? Thank you..
victor chiong
Ranch Hand

Joined: Apr 04, 2012
Posts: 73
I solved it guys,

You can use <s:if>

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Highlight A text field description when error happens.
 
Similar Threads
Error while validating the input
Focus Lost problem
Reading data from web sites
How to keep original values in jsp when an error message is dispalyed
Please help with a simple GUI.