Share on Google+Share on Google+

1 Answer(s)      8 years ago
Posted in : JDBC


View Answers

July 8, 2008 at 6:12 PM

Hi keerthi,
replace the line

<td> <%= rs.getString(i) %> </td>


<td><a href="#"><%= rs.getString(i)%></a></td>

This will give hyperlinks for all columns. To get only for first column, change the code like this:

for(int i=1;i<=cnt;i++)
<td><a href="#"><%= rs.getString(i)%></a></td>
<%}else{ %>
<td><%= rs.getString(i)%></td>

I didn't understand about "selected row must be deplay"


Related Tutorials/Questions & Answers:
Programming in JDBC and JSP - JSP-Servlet
Programming in JDBC and JSP  Write a program using JDBC and JSP to display the names and addresses of all those MCA students at your study centre who have completed/submitted their theory assignments of all the courses of IV
how to run jdbc in jsp program - JSP-Servlet
how to run jdbc in jsp program  i want to use sql server 2005 in jsp... visit the following links: Hope
JDBC with JSP  how to get a combo box value and pass it to the java method in a jsp program dynamically, without moving to servlet or next page
jdbc-jsp  <html> <head> <title>your info mail</title> </head> <body bgcolor=#FAEBD7> <center><u>... = DriverManager.getConnection("jdbc:mysql://localhost:3306/test", "root", "root
JDBC in JSP  Sir, I got a problem in my jsp page which contains a delete query to delete the fields from MySql DB. The delete query is working.... Regards Sreejith  send me your jsp coding then i can understand what
JDBC in JSP   Sir, This is the code showing the problem. regards sreejith
JDBC in JSP   Sir, This is the code showing the problem. regards sreejith
jdbc,jsp - JDBC
jdbc,jsp   this is my jsp code in this code i have to give hyperlink to database(selected row must be deplay)  Hi keerthi, replace the line
JSP and JDBC - JSP-Servlet
JSP and JDBC  Respected sir/Madam, I am R.Ragavendran.. I am in urgent need of programming from roseindia team.. My requirement... for JDBC codings must be present.. NOTE: When User clicks Insert,for example
jsp,beans,jdbc - JSP-Servlet
jsp,beans,jdbc  I have created jsp page and corresponding servlet... database for specific date .this data is retrived on jsp page by beans.i use beans... in jsp how to show field sum on jsp page plz guide   Hi friend
Export Data into CSV file uing JDBC in JSP
Export Data into CSV file uing JDBC in JSP       CSV file : A CSV file is commonly known... url = "jdbc:mysql://localhost:3306/"; String dbName = "user_register"; String
Update Database Table using JDBC in JSP
Update Database Table using JDBC in JSP... the existing  record of mysql table using jdbc connectivity in the jsp page. In this example we have created two jsp pages update.jsp and updatingDatabase.jsp.
in Jdbc -jsp page . that's it. chandu
need a sample project using java technologies like jsp, servlets, struts
need a sample project using java technologies like jsp, servlets, struts  Hi everybody! I have learnt core java,jdbc,jsp,servlets & struts. Please guide me where can i find sample project like library management, CMS or any
java - JDBC
sending data inserting code into database using JDBC with jsp... have to use JDBC and oracle. plz send the details for connecting "java... for database connectivity:
Requiring Guidance - Java Magazine
Requiring Guidance  Sir, I have finished my core java after that others topic that i have covered are: Servlets JSP JDBC Swing RMI what... be Swing, jdbc, jsp, servlet after RMI. Thanks.  Can you throw
JEE 5 Tutorial
like JSE, XML, JDBC, JSP, Sevlets etc...  JEE is offering new
Java Developer Training
, JDBC, JSP, Hibernate, Struts, Java Framework, etc. These are the advance
New to programming...
to learn is the JDBC, JSP, Servlets, MySQL Database and then the software
JSP,JDBC and HTML(Very Urgent) - JSP-Servlet
JSP,JDBC and HTML(Very Urgent)  Respected Sir/Madam, Thanks... details from database using JDBC and JSP. The home page i.e HTML Page must contain... the code: I am not using any html. I used only jsp & jdbc. HOme Page
CORBA and RMI Books
.     CodeNotes for J2EE: EJB, JDBC, JSP, and Servlets CodeNotes provides the most succinct, accurate... between comprehensive manuals and pocket reference.CodeNotes for J2EE: EJB, JDBC
JSP Examples
into CSV file uing JDBC in JSP   Download CSV File from Database in JSP...JSP Examples In this section we will discuss about the examples of JSP. This section will help you create web applications using JSP. In this page you
Sitemap JSP Tutorial Section
uing JDBC in JSP | Download CSV File from Database in JSP  JSP... | Update Database Table using JDBC in JSP | XML File using DOM parser... Map | Business Software Services India JSP Tutorial Section  Intro
JSP Tutorials
; in JSP.    Export Data into CSV file uing JDBC... will learn how to export data into CVS file using JDBC in jsp.  ... JSP Tutorials     
Java Spring Hibernate Struts Training how to retrieve text and images from mysql database and show on html page using jsp servlet How to install Neo4j on Ubuntu 15.10? please help me in these prog MYSQL - mysql copy table to another table example by creating new table solution for mapping hibernate and pojos from net beans through database Connect GWT application with Oracle inventory System of Medical Store inventory System of Medical Store inventory System of Medical Store inventory System of Medical Store This code have created jTable that connected with a database.every cell of last column have a button.But this button doesn't work properly.Where is the error java program Java Database Program jdbc Database connection class in a live project ..?? What is JDBC architecture? Unable to Create DSN for excel to ms access importing data and edit that data Database Scrolling Buttons how to use foreign key in java How to delete content of a log file from linux terminal? JSP-Oracle connectivity Student Management System Java code for Saving Marathi (Indian local language ) in Mysql and retrieving the same crud operations with foreign key constraint. I really need help with this assignment question Please help me out Please Backup Failed Mysqldump Got Errno 28 On Write Upgrade MySQL 5.1 to 5.5 in cpanel mysqldump all databases com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jpa.sequence' doesn't exist persistence xml class element persistence.xml for MySQL MySQL JDBC Driver pom dependency code Blob column jdk6 and oracle 8i connexion oracle 8i et jdk6 java [ cannot retrive date from sql ] why?? Order Entry System How to threow timeout exception when DB is not responding How to threow timeout exception when DB is not responding This is the employee form to add data to mysql database but I got error of NullPointerException, Is this write code please give me feedback as soon as possible make a method which takes user name & pwd as parameter & validate them against the database. If the corresponding user exist return true otherwise false. prabhakar validating credentials and displaying error message in login .jsp if not valid JDBC jdbc jdbc code register servlet vibhu connectiondetails from vibhu


Advertisement null