I am trying to send data to database with post method but it not going to DB is there any problem or should i use get method. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I am trying to send data to database with post method but it not going to DB is there any problem or should i use get method.

I am using servlet

20th Nov 2017, 9:34 AM
Ashish Kumar
1 Answer
+ 1
Usually, data is not sent to the database directly from the form ... but is transmitted by Post / Get methods to the BackEnd server logic (script or application), which already sends data to the database or reads it from the database, after which it forms a response and sends it back to the page form as a response to a request ... I think this is how it should be done here.
22nd Sep 2021, 6:09 PM
Michail Getmanskiy
Michail Getmanskiy - avatar