This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes tabinndex controls Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "tabinndex controls" Watch "tabinndex controls" New topic
Author

tabinndex controls

david merlin
Greenhorn

Joined: Oct 24, 2009
Posts: 3
Hi,

I am having two button in struts, back and submit.

when i entered the name and password and press the enter key It's goes to back . not an submit page.

please help us to resolve this

My JSP PAGE is:

<html:submit property="methodToCall" styleClass="spbutton" tabindex="3">
<bean:message key="confmBack"/></html:submit>
<html:submit property="methodToCall" styleClass="spbutton" tabindex="2"><bean:message key="adduser"/></html:submit>


Thanks And Regards
Merlin

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: tabinndex controls
 
Similar Threads
Submitting a struts form outside of the form body
DispatchAction and html:cancel
Hidden button is shown in FireFox
LookUpDispatchAction
How to avoid multiple page submits