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 Post@jagadesh_pesit
- You are just some 3 years to late with your reply
- You used no code tags
- You show database connectivity from JSP that is frown upon (bad practice)
- I can go on, but I rather close this thread as unproductive and sample of bad practises. You want to …
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.