Creating servlets using annotation, xml based configuration, passing request parameters, passing post parameters. Implementation of sessions, servlet context and init params
SimpleServlet.java - A simple servlet created using annotation based configuration.
XmlServlet.java - A servelt created using xml based config, configured in web.xml file, also shows how to configure servlet init params in web.xml file and accessing it in servlet.
PassingRequestParametersServlet.java - Servlet showing how to access parameters passed from the request i.e URL
PassingPostParametersServlet.java - Servlet showing how to pass post parameters i.e passing paramneters from html form and then accessing inside the servlet.
SessionServlet.java - Servlet showing how to set and get attributes set in session, servlet context and setting init params using annotation based code.