Can someone explain the syntax and use of a servlet? I'm not familiar with this concept. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Can someone explain the syntax and use of a servlet? I'm not familiar with this concept.

22nd May 2017, 2:08 PM
Michael Johnson-Henry
Michael Johnson-Henry - avatar
4 Answers
+ 1
so problem can you send the stuff your having issues with ?
23rd May 2017, 9:28 AM
LDK
LDK - avatar
+ 1
there many different sevlets
23rd May 2017, 9:28 AM
LDK
LDK - avatar
+ 1
i don't have a specific example at the moment, but lets assume I'm trying to use a sql database, add and remove and change entries
23rd May 2017, 10:34 AM
Michael Johnson-Henry
Michael Johnson-Henry - avatar
+ 1
well then i assume you will communicate with your servlet over some kind of protocol you can design depending on the data ofcourse with json format the sevlet will handle the data and push it to the database class of your application that I assume you have this class will contain the connection with the database and execute the modifications on the entries
23rd May 2017, 1:18 PM
LDK
LDK - avatar