servlet coffee shop locator

In this assignment you are to create a coffee shop locator servlet. Your servlet should be located at:http://cs3.calstatela.edu:8080/cs320stuXX/Homework3/CoffeeShopLocatorAs usual, substitute XX with your CS3 account number.Your servlet should exhibit the following behavior:GETA GET request with no parameters should display a search form. Your search form should have the following form elements:An INPUT of type text with name queryA SELECT with the name typeThe OPTIONs of the SELECT should be: Location, City, and ZipPOSTA POST request should display the search form, with sticky values, along with the search results in a table.Your table should have an id results.Your search results will be a list of coffee shops that match the search criteria.To be valid, a POST request must always contain two parameters: query and type.Acceptable values for the type parameter are: location, city, and zip. NOTE: These values are case sensitive.A description of each search type is listed below.Location SearchWhen the User selects Location from the drop-down select box on the search form, you should expect a latitude/longitude pair tobe present in the search form.For example, a User would enter 33.9733, -118.244 into the search box. Your servlet will be responsible for parsing thelatitude and longitude values out of the submitted value.Your servlet can assume a default search radius of 10 miles.Your servlet will then report a list of all coffee shop locations that are within the search radius Using the Great CircleDistance formula outlined at https://en.wikipedia.org/wiki/Great-circle_distance.City and Zip Code SearchWhen the User selects City or Zip form the drop-down select box, you should expect a city name (or partial name), or a zip codeto be submitted as the query.NOTE: Your servlet should support partial matches when searching city names, and should be case insensitive. Do not, however,allow partial matches for zip code searches.A coffee shop location should be reported when the city, or zip code is a match.Data SourceYour data source will be a CSV file located in your /WEB-INF/ directoryalso telphone number and address need to be shown

Is this question part of your Assignment?

We can help

Our aim is to help you get A+ grades on your Coursework.

We handle assignments in a multiplicity of subject areas including Admission Essays, General Essays, Case Studies, Coursework, Dissertations, Editing, Research Papers, and Research proposals

Header Button Label: Get Started NowGet Started Header Button Label: View writing samplesView writing samples