File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Selecting a table row by clicking on it Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Selecting a table row by clicking on it" Watch "Selecting a table row by clicking on it" New topic
Author

Selecting a table row by clicking on it

Chak Terlapu
Ranch Hand

Joined: Oct 20, 2000
Posts: 32
Hi,
I wrote a servlet to connect to oracle database and display the table on a web page. Now I should be able to select the table row by clicking on it and update or delete the row info. Can anyone tell me how I can select a row by clicking. Any help would be appreciated.
Thanks in advance
A Agrawal
Ranch Hand

Joined: Jul 13, 2001
Posts: 41
It depends upon the kind of GUI you are using if You are using simple jsp/servlet which generates HTML, You need to work on JavaScript for this purpose.
There is lot of help available on how you can do this using javascript so am not elobrating that.
------------------
Amit Agrawal,
New Delhi, India.


Amit Agrawal,<BR>New Delhi, India.
Chak Terlapu
Ranch Hand

Joined: Oct 20, 2000
Posts: 32
Thanks Amit, Could you give me the links to the references.
 
Consider Paul's rocket mass heater.
 
subject: Selecting a table row by clicking on it
 
Similar Threads
HTML Table events?
selecting a row from table using radio buttons
Updating problem...
JComboBox in the JTable Editor
How to select HTML Table elements