This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Validator Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Validator " Watch "Validator " New topic
Author

Validator

Janice Guevara
Greenhorn

Joined: Aug 07, 2006
Posts: 14
Hi,

How can I set the focus on a form field after it has been validated??? (assuming there is an error).I'm working with struts.

Any ideas?

Thanks...
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
The following code would work. "onlode" below should be "onload", but I had to substitute to get around the JavaRanch Filter.

[ October 19, 2006: Message edited by: Merrill Higginson ]

Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Validator
 
Similar Threads
Is return message depiction valid UML notations ?
NoClassDefFoundError - ValidateEventListener
SCJA Certification expiration ?
use case
java.io.Serializable;