File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to make the form set focus on the submit button by default.
 
It's not a secret anymore!