I am trying to build my very first Servlet and i am unsure of how to start.
I have a RESTAPP/Web Pages/farmacies.html page that has three search fields (city,company,farmacyname) as parameters to search in a MYSQL database using JDBC and return results as JSON.
I have RESTAPP/src/client/ApotekService.java
What am i supposed to do in doGet besides request parameters? Right now doGet is empty...
And doPost is supposed to use JDBC to retrieve things from MYSQL database, right?
How do i start with this?
Any help greatly appreciated!