This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes focus support Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Frameworks » Struts
Bookmark "focus support" Watch "focus support" New topic
Author

focus support

danny liu
Ranch Hand

Joined: Jan 22, 2004
Posts: 185
Do html tags support "focus" demand?

Thanks.

Dan
Nick Williamson
Ranch Hand

Joined: Jan 06, 2007
Posts: 73
yes, on the html:form tag there is an attribute called focus you can set it to a property on the form:

example your ActionForm has a property on it called name



in that example the cursor will be put on the "name" text filed when the page loads.
 
I agree. Here's the link: http://kickstarter.com/rocket-mass-heater
 
subject: focus support