Call Servlet processes the request
1, element and its child elements, declare a Servlet.
*: Specify a text description for the Servlet.
*: for the Servlet to provide a short name displayed by some of the tools.
*: specify an icon for the Servlet, the graphical management tool that the Servlet.
: Servlet's name, and Uniqueness.
or : the full path for the Servlet. specified web application jsp file full path to / start of a jsp file to do URL mapping.
*: Servlet initialization parameters defined.
*: initialization parameters described in the text.
: initialization parameter name.
: initialization parameter.
?: WEB application is started, Servlet is loaded in the order. Contents of an integer value.
Negative or did not set this element that Servlet container to the client request load it when the Servlet
WEB positive or o that the application is started by numerical size from small to large initialization Servlet.
If both contain element and the , is also pre-compiled jsp files and load.
?: The role of the implementation of components
: text description.
: the role of the designated name of the implementation of components.
*: Statement at the component or components to deploy the code in the security role references.
*: text description of security roles.
: the use of the security role name.
?: Assigned to a security role reference.
2, element and its child elements, in the servlet and define a mapping between the url.
: Servlet name, uniqueness and consistency. And elements in the statement of the same name.
: specifies the URL relative to the Servlet Path. The path relative to the root web application context path.
Third, the process of loading Servlet
Context container object to the request path (URL) to deal with it, get rid of the request URL after the context path, the path mapped by the rules and Servlet Mapping the path () do match, if the match is successful, call the Servlet handling request.
Matching rules:
URL request an exact match, if successful, call the Servlet processes the request. Match the longest path prefix to / for the path separator, step by step according to the path tree matching, select the longest match of the Servlet to deal with. If you do not match the previous success, the container will make WEB application to call the Servlet processes the request. If not defined the default Servlet, the container will be sent by the client 404 (the requested resource does not exist) error message.
MKV file converter
COMPARE Printer
how to rip dvd and convert video To blackberry
Articles about Strategy And War Games
Audio RIPPERS And Converters Expert
Easy to use Personal Finance
VOB to MOV
TS to DVD
VOB file CONVERTER