• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hyperlink a table data

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have used servlets for retreiving datas from a d/b. The result is shown on the table. I want to hyperlink a particular data on that table. By clicking on that hyperlink I want to call another servlet and pass a querystring to retreive some other datas from another database , based on that querystring.
In the first case the table is coming. but whenever i used the hyperlink it shows SQLException - No data Available?
How can it be done ?
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Java Ranch has a naming policy, described here and "soumya m" is not a valid name. Please choose one which meets the requirements.
Thanks.
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would guess that either your SQL is wrong in your second servlet, or that you are trying to reuse the same query results which you have already displayed in the first servlet. Please explain a little more about what you are doing.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic