By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,798 Members | 1,336 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,798 IT Pros & Developers. It's quick & easy.

Servlet example with Enter key defaulting OK button

P: n/a
Hi everyone,

it's been a LONG time since I've made an applet, and I was hoping to
get some help. At my work, we have a $1mil+ database with a servlet
interface. I know few details beyond that. Our very pricey vendor says
that they can't make the Enter key be the default "OK" button (or some
other button like "refresh). They say it's not possible. Hopefully,
I'm making sense -- when a dialogue box pops up, I'd like to be able
to type in my search parameters and then hit enter, so that the
listener tells the default buton to get to work, and the desired
action takes place. Without me having to actually move my mouse to the
desired button.

I'd bet money this is possible. Have any of you seen an example
servlet on the Internet with this feature? I'd love to have a web
address to show them.

Thank you so much,
Lauryn.
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
lauryn wrote:
Hi everyone,

it's been a LONG time since I've made an applet, and I was hoping to
get some help. At my work, we have a $1mil+ database with a servlet
interface. I know few details beyond that. Our very pricey vendor says
that they can't make the Enter key be the default "OK" button (or some
other button like "refresh). They say it's not possible. Hopefully,
I'm making sense -- when a dialogue box pops up, I'd like to be able
to type in my search parameters and then hit enter, so that the
listener tells the default buton to get to work, and the desired
action takes place. Without me having to actually move my mouse to the
desired button.

I'd bet money this is possible. Have any of you seen an example
servlet on the Internet with this feature? I'd love to have a web
address to show them.


Of course it is possible. But the technology involved is
HTML/JavaScript, so this is the wrong group to inquire within.

Ray

--
XML is the programmer's duct tape.
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.