Philip Qin wrote:

> But the default behavior of Enter in a browser (IE?) is to 
> invoke the form submission. For example, if you hit Enter on 
> a login page, it acts like you click the Sing-In button. There 
> is no JS involved. 

I'm not sure how this changes anything. The "Enter on submit" behavior is browser 
specific, and has nothing to do with Struts. You might be able to disable this 
behavior with JavaScript, but Struts won't help you there, alas.

-= J


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to