aspose file tools*
The moose likes JDBC and the fly likes getting selected row from the database table Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "getting selected row from the database table" Watch "getting selected row from the database table" New topic
Author

getting selected row from the database table

jagruti patil
Greenhorn

Joined: May 20, 2001
Posts: 7
I have created an inventory control system where I have given a list option. This option when clicked gives me the details of the items in the database.Now when I click on one particular item it should show me the details of that particular item only but in my program whenever I click on any of the item it shows me the details of the last item only.
Your guidance would be of great help.
Jagruti
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
This forum is intended for questions and comments about this web site, www.javaranch.com. It is not for questions about the Java language - that's what all the other forums are for. I'm moving this question to the JDBC forum.


"I'm not back." - Bill Harding, Twister
Raja Shekhar
Ranch Hand

Joined: Apr 02, 2001
Posts: 49
Hi
Just Check for u r list item
Each item have "value".
then uopn clickin the option go the next servet check the
Value with request.getParamter("listoption");
then excute u r query upon this value...

Hope u Got IT...
Raj
Rajzb@yahoo.co.uk
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getting selected row from the database table