• Standard system for handling servlet requests / responses:
    • service(ServletRequest req, ServletResponse res)
  • Standard system for handling http requests / responses:
    • doGet(HttpServletRequest req, HttpServletResponse resp)
    • doPost(HttpServletRequest req, HttpServletResponse resp)
  • Standard system for accessing server resources:
    • ServletContext getServletContext()
    • ServletConfig getServletConfig()
  • While you can write web applications using servlets directly they are not very nice for writing presentation code.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.