can somebody prove me the coding to update the database (mysql) with JSP
nikhita
0
Newbie Poster
Recommended Answers
Jump to PostGoogle is your friend! There are many examples over the internet, for example this site http://www.java2s.com/Tutorial/Java/0340__Database/Catalog0340__Database.htm
Jump to PostU can write all code using scriptlet. Simply start scriptlet,create connection, write and execute update query, close connection and scriptlet.
For Ex
<%
create connection
Create query
resultset
execute query
close connection
%>
Hope it provides u some help!!U can find example code in google.
Which is, of course, …
Jump to PostWell, if you knew the right way, why did you suggest the wrong way?
As I said:
You can also scratch your back with a butcher knife, but I wouldn't suggest it.
All 9 Replies
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
Shubhra
0
Newbie Poster
masijade
1,351
Industrious Poster
Team Colleague
Featured Poster
Shubhra
0
Newbie Poster
masijade
1,351
Industrious Poster
Team Colleague
Featured Poster
Shubhra
0
Newbie Poster
nikhita
0
Newbie Poster
jagadesh_pesit
0
Newbie Poster
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.