Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP small problem  RSS feed

 
Pol Appan
Ranch Hand
Posts: 144
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I have a JSP page where I have few records from database. When I click a hyperlink, in the same page I need to display the data based on the what the user has clicked. I know it can be done with some id of td or tr properties.

How can I do this, can anyone please help me with this?

Thanks

Ponic
 
Jesus Angeles
Ranch Hand
Posts: 2069
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry, can u describe what you need to do a little further?
 
Bhavik Patel
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
a href="listDetails.jsp?id='${id}' where ${id} is unique field id let say primary key of the record that you are retrieving
....On the listDetails.jsp page you that id to retrive that record and display details...
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!