Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

MethodDescription
setName

Sets the name of the component but sets also the servlet name (returned by javax.servlet.HttpServlet.getServletName().

setServletClassName

Sets the class name of the servlet to be instantiated by the servlet component.

setProperties

Defines the init parameters usually defined by adding init-param attributes to the servlet definition in the web.xml. These properties can be retrieved from javax.servlet.HttpServlet.getInitParameter() and javax.servlet.HttpServlet.getInitParameterNames

...