Difference between version and version      View first change»»

Back to Web.xml.Servlet, or Web.xml.Servlet version history

At line 5 added 7 lines.
Servlets cannot be called directly unless the [InvokerServlet] is enabled, so one or more servlet tags and servlet-mappings must exist for each servlet, to tell Tomcat when to call the servlet.
There are two required elements:
* <[servlet-name|web.xml.ServletName]> - the servlet name, this is used to match the <servlet-name> element in one or more <[servlet-mapping|web.xml.ServletMapping]> tags
* <[servlet-class|web.xml.ServletClass]> - the canonical class name of the servlet (eg: SimpleServlet or com.metawerx.servlets.SimpleServlet if it's in a package)
\\
navigation
metawerx specific
search
Share
tools
help

referring pages

Share