Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
Don't get me started about those stupid
subject: Connecting to database from JSP through JDC
it is for retriving data from database
how can i fire update query in struts?
how can I update xml file in java?
can some one help me im just new in java.
Problem in JSP with respect to combo box.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013