aspose file tools*
The moose likes Struts and the fly likes how to make the form set focus on the submit button by default. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to make the form set focus on the submit button by default." Watch "how to make the form set focus on the submit button by default." New topic
Author

how to make the form set focus on the submit button by default.

kay lin
Ranch Hand

Joined: May 20, 2004
Posts: 132
Hi all:
I just have a quick question. If I want a form to set the default on a submit button in Struts, I would have the following



now my question is can i still use the key "'accesslist.returntosearch' in the "focus" field of the <html:form>?

let me know

Many thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to make the form set focus on the submit button by default.