A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
getting button name
Joined: Feb 16, 2005
Dec 03, 2005 09:05:00
Is there a way to know which key has been pressed while sending request to a
Like GO,REFRESH or BACKSPACE (especially the BACKSPACE).
Joined: May 26, 2003
Dec 03, 2005 16:09:00
No. You only know that the request has been submitted.
You can identify a backspace/reload case by putting a value in the session when the page is first loaded and seeing if it is already there. This is the "token" approach.
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
subject: getting button name
What's annoying that is said to be a feature in a Computer
Trouble using BufferedReader and the If Else statement.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014