You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by deepaksawdekar <de...@infosys.com> on 2003/10/20 09:16:44 UTC

Default buttons

Hi, 
How can i define a default buttons on a jsp developed using struts. 
My requirement is that on when i press enter key from keyboard page should get submit (eventually calling onclick of submit) and 
when i click on esc key it should be cancel ( callin onclick of cancel) .


Thanks and regards
Deepak.

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org