Author
Hyperlink Question
nash avin
Ranch Hand
Joined: Nov 13, 2003
Posts: 96
posted Jul 15, 2004 22:02:00
0
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
Joined: May 29, 2003
Posts: 1258
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 Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
Nathaniel Stoddard
Ranch Hand
Joined: May 29, 2003
Posts: 1258
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
Joined: Nov 13, 2003
Posts: 96
posted Jul 16, 2004 06:25:00
0
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
subject: Hyperlink Question