There is no default. When the user hits enter in any input field (except textarea) the enclosing form is submitted.
JM > -----Original Message----- > From: IS Struts [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 07, 2002 10:26 AM > To: [EMAIL PROTECTED] > Subject: Default Button > > > How do you make a button a default button on a JSP, so when the > user hits the 'Enter' key the button is submitted? > > Any suggestions are appreciated, > Rich > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

