Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hyperlink Question

 
nash avin
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I was wondering why this below code dosent show anything on the web browser.Kindly let me know.



I want to get a link on each value coming from the database by this

Help would be greatly appreciated.

AS
[ July 15, 2004: Message edited by: Bear Bibeault ]
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks good to me. Of course, you've only given us two lines to look at ... but oh well. Maybe you're using a different version of JSP that doesn't allow you to put expressions inside tags (like JSP documents in JSP 2.0).
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or maybe rs.getString(1) is empty or null, so you can't see the link on the webpage even though your code is working correctly.
 
nash avin
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply.The rs.getString(1) is not empty because it works when it is used all by itself



I also observed that this below code gives SQL Exception



Error:::

Error SQL: java.sql.SQLException: No data found


The complete code is given below,




Hope that you will help me out.Help would be appreciated.

Thanks
AS
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic