File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JDBC and Relational Databases
Connecting to database from JSP through JDC
Joined: Jun 07, 2006
Jun 08, 2006 00:13:00
Can you please help me as I am new to this
For example if I have a database(datasource):StudentProfile
Columns: StudentNo, Student_FirstName, Student_LastName, Student_Grade
1. How do I connect to the DB from this student.jsp
2. Display all the records (Select * from Student)
3. how do I update the grade. (Update Student set Student_Grade = ? where studentNo = ?)
Please help me.
Joined: Nov 24, 2005
Jun 08, 2006 00:33:00
After reading the following, try yourself and post again when you have problems. Good luck.
All roads lead to JavaRanch
Author and ninkuma
Joined: Jan 10, 2002
Jun 08, 2006 07:32:00
Moved to the
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: Connecting to database from JSP through JDC
it is for retriving data from database
how can I update xml file in java?
Problem in JSP with respect to combo box.
how can i fire update query in struts?
can some one help me im just new in java.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015