• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getting selected row from the database table

 
jagruti patil
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Raja Shekhar
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic