This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Servlets and the fly likes Hyperlink a table data Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Hyperlink a table data" Watch "Hyperlink a table data" New topic
Author

Hyperlink a table data

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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

Joined: Jan 07, 1999
Posts: 6913
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.


A Convergent Visionary ~ Frank's Punchbarrel Blog ~ LinkedIn profile
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6913
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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Hyperlink a table data
 
Similar Threads
i to put hyperlink in javascript table
regarding JTable
how to improve performance
Retrieving blob data in java
Formatting help..