| ID | Chapter | Section | Description | Required | Dependency | Implementation Specific | Defined by | Status | Testable |
| Servlet:SPEC:1 | 1 | 2 | All servlet containers must support HTTP/1.0 and HTTP/1.1 protocols | true |
| false | technology | active | true |
| Servlet:SPEC:2 | 1 | 2 | J2SE 5.0 is the minimum version of the underlying Java platform with which containers must be built. | true |
| false | technology | active | false |
| Servlet:SPEC:3 | 2 | 2 | A servlet hosted in a non-distributed environment, the servlet container must use only one instance per servlet declaration. | true |
| false | technology | active | true |
| Servlet:SPEC:4 | 2 | 2 | A servlet deployed as part of an application marked in the deployment descriptor as distributable, a container may have only one instance per servlet declaration per virtual machine (VM). | true |
| false | technology | active | false |
| Servlet:SPEC:5 | 2 | 3 | The life cycle of a servlet is expressed in the API by the 'init', 'service', and 'destroy' methods of the javax.servlet.Servlet interface that all servlets must implement directly, or indirectly through the GenericServlet or HttpServlet abstract classes. | true |
| false | technology | active | true |
| Servlet:SPEC:6 | 2 | 3.1 | The servlet container is responsible for loading and instantiating servlets. | true |
| false | technology | active | true |
| Servlet:SPEC:6.1 | 2 | 3.1 | When the servlet engine is started, needed servlet classes must be located by the servlet container using normal Java class loading facilities. | true |
| false | technology | active | false |
| Servlet:SPEC:7 | 2 | 3.2 | After the servlet object is instantiated, the container must initialize the servlet before it can handle requests from clients by calling the init method of the Server interface with a unique (per servlet declaration) object implementing the ServerConfig interface. | true |
| false | technology | active | true |
| Servlet:SPEC:8 | 2 | 3.2.1 | The servlet container must not call the destroy method on a Servlet that threw an Exception during the initialization process. | true |
| false | technology | active | true |
| Servlet:SPEC:9 | 2 | 3.2.1 | A servlet throwing an UnavailableException that indicates a minimum time of unavailability, the container must wait for the period of time specified to pass before creating and initializing a new servlet instance. | true |
| false | technology | active | false |
| Servlet:SPEC:10 | 2 | 3.3.1 | For servlets not implementing the SingleThreadModel interface, if the service method (or methods such as doGet or doPost which are dispatched to the service method of the HttpServlet abstract class) has been defined with the synchronized keyword, the servlet container must serialize request through it. | true |
| false | technology | deprecated | true |
| Servlet:SPEC:11 | 2 | 3.3.2 | If a permanent unavailability is indicated by the UnavailableException, the servlet container must remove the servlet from service, call its destroy method, and release the servlet instance. | true |
| false | technology | active | true |
| Servlet:SPEC:11.1 | 2 | 3.3.2 | Any requests refused by the container by the cause, must be returned with a SC_NOT_FOUND(404) response. | true |
| false | technology | active | true |
| Servlet:SPEC:12 | 2 | 3.4 | When the servlet container determines that a Servlet should be removed from service, it must call the destroy method of the Servlet interface to allow the servlet to release any resources it is using and save any persistent state. | true |
| false | technology | active | false |
| Servlet:SPEC:12.1 | 2 | 3.4 | Before the container calls the destroy method, it must allow any threads that are currently running in the service method of the servlet to complete execution, or exceed a server defined time limit. | true |
| false | technology | active | false |
| Servlet:SPEC:12.2 | 2 | 3.4 | Once the destroy method is called on a servlet instance, the container must not route other requests to that instance of the Servlet. | true |
| false | technology | active | false |
| Servlet:SPEC:12.3 | 2 | 3.4 | After the destroy method completes, the servlet container must release the servlet instance so that it is eligible for garbage collection. | true |
| false | technology | active | false |
| Servlet:SPEC:13 | 3 | 2 | There is only one instance object of the ServletContext interface associated with each web application deployed into a non-distributed container. | true |
| false | technology | active | true |
| Servlet:SPEC:14 | 3 | 2 | If the application is marked as distributed, and the container supports this functionality, the web application will have one instance of the ServletContext for each VM. | true |
| false | technology | active | false |
| Servlet:SPEC:15 | 3 | 2 | A default ServletContext must be made available to servlets not deployed as a web application. | true |
| false | technology | active | false |
| Servlet:SPEC:15.1 | 3 | 2 | In a distributed container, the default ServletContext is non-distributable and must only exist in one VM. | true |
| false | technology | active | false |
| Servlet:SPEC:16 | 3 | 4 | Any attribute bound into a context (using the appropriate methods of the ServletContext interface) is available to any other servlet that is part of the same web application. | true |
| false | technology | active | false |
| Servlet:SPEC:17 | 3 | 6 | In the case where logical hosts (multiple logical hosts sharing one IP address), each logical host must have its own servlet context or set of servlet contexts. | true |
| false | technology | active | false |
| Servlet:SPEC:18 | 3 | 7 | Although a Container Provider implementation of a class reloading scheme for ease of development is not required, any such implementation must ensure that all servlets, and classes that they may use, are loaded in the scope of a single class loader. | false |
| true | technology | active | false |
| Servlet:SPEC:18.1 | 3 | 7 | The full semantics of notification to session binding listeners should be supported by containers for use in the monitoring of session termination upon class reloading. | false |
| true | technology | active | false |
| Servlet:SPEC:19 | 3 | 7.1 | Servlet containers must provide a private temporary directory for each servlet context. | true |
| false | technology | active | true |
| Servlet:SPEC:19.1 | 3 | 7.1 | The container must make it available via the javax.servlet.context.tempdir context attribute. The objects associated with the attribute must be of type java.io.File. | true |
| false | technology | active | true |
| Servlet:SPEC:19.2 | 3 | 7.1 | Servlet containers are required to ensure that the contents of the temporary directory of one servlet context is not
visible to the servlet contexts of other Web applications running on the servlet container. | true |
| false | technology | active | true |
| Servlet:SPEC:20 | 4 | 1 | If a request parameter has more than one value, and are provided via a query string and a post body, the aggregation of the parameter values will result in the query string values being ordered before the post parameters. | true |
| false | technology | active | true |
| Servlet:SPEC:21 | 4 | 1 | Path parameters that are a part of a GET request (as defined by HTTP 1.1) are not exposed by any of the getParameter methods of the ServletRequest interface. | true |
| false | technology | active | true |
| Servlet:SPEC:22 | 4 | 1.1 | The following conditions must be met before post form data will be populated to the parameter set: | true |
| false | technology | active | true |
| Servlet:SPEC:22.1 | 4 | 1.1 | The request is an HTTP or HTTPS request | true |
| false | technology | active | true |
| Servlet:SPEC:22.2 | 4 | 1.1 | The HTTP method is POST | true |
| false | technology | active | true |
| Servlet:SPEC:22.3 | 4 | 1.1 | The content type is application/x-www-form-urlencoded | true |
| false | technology | active | true |
| Servlet:SPEC:22.4 | 4 | 1.1 | The servlet has made an initial call to any of the getParameter family of methods on the request object. | true |
| false | technology | active | true |
| Servlet:SPEC:22.5 | 4 | 1.1 | If the outlined conditions are not met, the post data must be available to the servlet via the request object's input stream. | true |
| false | technology | active | true |
| Servlet:SPEC:23 | 4 | 4 | If the servlet used to process the request was matched with the '/*' pattern, getServletPath will return an empty string. | true |
| false | technology | active | true |
| Servlet:SPEC:24 | 4 | 4 | The path returned by getServletPath must begin with a slash '/'. | true |
| false | technology | active | true |
| Servlet:SPEC:25 | 4 | 4 | The path returned by getPathInfo must begin with a slash '/' | true |
| false | technology | active | true |
| Servlet:SPEC:26 | 4 | 7 | If a request has been transmitted over a secure protocol, such as HTTPS, the container must expose the following attributes to the servlet programmer: | true |
| false | platform | active | true |
| Servlet:SPEC:26.1 | 4 | 7 | the javax.servlet.request.cipher_suite attribute is associated with a string value denoting the cipher suite used for the connection. | true |
| false | platform | active | true |
| Servlet:SPEC:26.2 | 4 | 7 | The javax.servlet.request.key_size attribute will be associated with an Integer value denotied the encryption key size. | true |
| false | platform | active | true |
| Servlet:SPEC:26.3 | 4 | 7 | The javax.servlet.request.X509Certificate request attribute will be associated with an array of java.security.cert.X509Certificates if the request was associated with an SSL certificate. | true |
| false | platform | active | true |
| Servlet:SPEC:26.3.1 | 4 | 7 | The order of the array associated with the javax.servlet.request.X509Certificate request attribute will be in ascending order of trust, i.e. the first certificate in the chain is the one set by the client, the next is the one used to authenticate first, and so on. | true |
| false | platform | active | true |
| Servlet:SPEC:27 | 4 | 9 | The default encoding of a request the container uses to create the request reader and parse POST data must be "ISO-8859-1", if none has been specified by the client request. | true |
| false | technology | active | true |
| Servlet:SPEC:28 | 4 | 9 | Calling the setCharacterEncoding(String enc) method after the request data has been read will not affect the encoding of the data. | true |
| false | technology | active | true |
| Servlet:SPEC:29 | 4 | 10 | Each request object is valid only within the scope of a servlet's service method, or within the scope of a filter's doFilter method. | true |
| false | technology | active | false |
| Servlet:SPEC:30 | 5 | 1 | A servlet container is allowed, but not required, to buffer output going to the client for efficiency purposes. | false |
| false | technology | active | false |
| Servlet:SPEC:31 | 5 | 1 | If a response has been committed, and the reset or resetBuffer methods have been called, an IllegalStateException must be thrown, however, the response and its associated buffer will remain unchanged. | true |
| false | technology | active | true |
| Servlet:SPEC:32 | 5 | 1 | When a buffer is used, the container must immediately flush the contents of a filled buffer to the client. If this is the first data sent to the client, the response is now considered committed. | true |
| false | technology | active | true |
| Servlet:SPEC:33 | 5 | 2 | Any headers that are to be present in the response, must be set before the response is committed. Any headers set after the response is committed will be ignored by the servlet container. | true |
| false | technology | active | true |
| Servlet:SPEC:34 | 5 | 2 | Servlet containers must not set a default content type (Content-Type) header when the servlet programmer does not set the type. | true |
| false | technology | active | true |
| Servlet:SPEC:35 | 5 | 3 | If a partial URL is given and, for whatever reason, cannot be converted into a valid URL, then this method must throw an IllegalArgumentException. | true |
| false | technology | active | true |
| Servlet:SPEC:36 | 5 | 3 | sendError has the side effect of committing the response. Any headers added after calling this method will be ignored by the container. | true |
| false | technology | active | true |
| Servlet:SPEC:37 | 5 | 3 | sendRedirect has the side effect of commiting the response. Any headers added after calling this method will be ignored by the container. | true |
| false | technology | active | true |
| Servlet:SPEC:38 | 5 | 3 | If data has been written to the response buffer, but not returned to the client (i.e., the response is not committed), the data in the response buffer must be cleared and replaced with the data set by sendRedirect. | true |
| false | technology | active | true |
| Servlet:SPEC:39 | 5 | 3 | If data has been written to the response buffer, but not returned to the client (i.e., the response is not committed), the data in the response buffer must be cleared and replaced with the data set by sendError. | true |
| false | technology | active | true |
| Servlet:SPEC:40 | 5 | 3 | If data is written to the response after sendRedirect has been called, it will be ignored by the container. | true |
| false | technology | active | true |
| Servlet:SPEC:41 | 5 | 3 | If data is written to the response after sendError has been called, it will be ignored by the container. | true |
| false | technology | active | true |
| Servlet:SPEC:42 | 5 | 5 | The following events indicate that the servlet has satisfied the request and that the any remaining content in the response buffer is flushed to the client and the response object is to be closed: | true |
| false | technology | active | true |
| Servlet:SPEC:42.1 | 5 | 5 | The termination of the service method. | true |
| false | technology | active | false |
| Servlet:SPEC:42.2 | 5 | 5 | The amount of content specified in the setContentLength method of the response
has been greater than zero and has been written to the response. | true |
| false | technology | active | true |
| Servlet:SPEC:42.3 | 5 | 5 | The sendError method is called. | true |
| false | technology | active | true |
| Servlet:SPEC:42.4 | 5 | 5 | The sendRedirectMethod is called. | true |
| false | technology | active | true |
| Servlet:SPEC:43 | 5 | 6 | Each response object is valid only within the scope of a servlet's service method, or within the scope of a filter's doFilter method. | true |
| false | technology | active | false |
| Servlet:SPEC:44 | 6 | 2.1 | After deployment of a web application, and before a request causes the container to access a web resource the container must locate the list of filters that must be applied to a particular resource. | true |
| false | technology | active | false |
| Servlet:SPEC:45 | 6 | 2.1 | when the developer passes a request or response object which extends HttpServletRequestWrappertion>The container must ensure that is has instantiated a filter of the appropriate class for each filter in the list, and called it's init(FilterConfig config) method. | true |
| false | technology | active | true |
| Servlet:SPEC:46 | 6 | 2.1 | If the exception thrown by a Filter is of type UnavailableException, the container may examine the isPermanent attribute of the exception and may choose to retry the filter at some later time. | false |
| false | technology | active | false |
| Servlet:SPEC:47 | 6 | 2.1 | Only onc instance per filter declaration in the deployment descriptor is instantiated per Java virtual machine of the container. | true |
| false | technology | active | false |
| Servlet:SPEC:48 | 6 | 2.1 | When the container receives an incoming request it takes the first filter instance in the list and calls its doFilter method, passing in the ServletRequest and ServletResponse, and a reference to the FilterChain object it will use. | true |
| false | technology | active | true |
| Servlet:SPEC:49 | 6 | 2.1 | Before a filter instance can be removed from service by the container, the container must first call the destroy method on the filter to enable the filter to release any resources and perform other cleanup operations. | true |
| false | technology | active | false |
| Servlet:SPEC:50 | 6 | 2.2 | When a filter invokes the doFilter method on the container's filter chain implementation, the container must ensure that the request and response object that is passes to the next entity in the filter chain, or the target web resource if the filter was the last in the chain, is the same object that was passed into the doFilter method by the calling filter. | true |
| false | technology | active | true |
| Servlet:SPEC:51 | 6 | 2.2 | When passes a request or response object which extends HttpServletRequestWrapper or HttpServletResponseWrapper into the request dispatcher, the request and response objects passed into the servlet invoked must be the same objects as were passed in.
When passes a request or response object which does not extend HttpServletRequestWrapper or HttpServletResponseWrapper but does implement HttpServletRequest or HttpServletResponse into the request dispatcher, the request and response objects may be wrapped in order to satisfy the include or forward specification. | true |
| false | technology | active | true |
| Servlet:SPEC:52 | 6 | 2.4 | The order the container uses in building the chain of filters applied to applied for a particular request URI is: | true |
| false | technology | active | true |
| Servlet:SPEC:52.1 | 6 | 2.4 | The url-pattern matching filter-mappings in the same order that these elements appear in the deployment descriptor. | true |
| false | technology | active | true |
| Servlet:SPEC:52.2 | 6 | 2.4 | The servlet-name matching filter-mappings in the same order that these elements appear in the deployment descriptor. | true |
| false | technology | active | true |
| Servlet:SPEC:53 | 6 | 2.4 | Containers may cache filter chaing so that they do not need to compute them on a per request basis. | false |
| true | technology | active | false |
| Servlet:SPEC:54 | 6 | 2.5 | If a <dispatcher> element for a particular <filter-mapping> is REQUEST, the filter will be applied to incoming client requests only. | true |
| false | technology | active | true |
| Servlet:SPEC:55 | 6 | 2.5 | If a <distpatcher> element for a particular <filter-mapping> is FORWARD, then the filter will be applied to a request being processed by a RequestDispatcher representing the web component matching the <url-pattern> or <servlet-name> using a forward() call. | true |
| false | technology | active | true |
| Servlet:SPEC:56 | 6 | 2.5 | If a <distpatcher> element for a particular <filter-mapping> is INCLUDE, then the filter will be applied to a request being processed by a RequestDispatcher representing the web component matching the <url-pattern> or <servlet-name> using a include() call. | true |
| false | technology | active | true |
| Servlet:SPEC:57 | 6 | 2.5 | If a <dispatcher> element for a particular <filter-mapping> is ERROR then the filter will only be applied when being processed by the error page mechanism. | true |
| false | technology | active | true |
| Servlet:SPEC:58 | 6 | 2.5 | If the <dispatcher> element is not present in a <filter-mapping> then the filters will only be applied against client requests. | true |
| false | technology | active | true |
| Servlet:SPEC:59 | 6 | 2.5 | The container must be able to support multiple <dispatcher> elements for a particular <filter-mapping> | true |
| false | technology | active | true |
| Servlet:SPEC:60 | 7 | 1.3 | If the client doesn't accept/support cookies, and session tracking is required/desired, the session id must be encoded as a path parameter in the URL string. | true |
| false | technology | active | false |
| Servlet:SPEC:60.1 | 7 | 1.3 | The name of the path parameter must be 'jsessionid'. | true |
| false | technology | active | true |
| Servlet:SPEC:61 | 7 | 1.4 | Web container must be able to support HTTP session tracking while servicing HTTP request from clients that do no support the use of cookies. | true |
| false | technology | active | false |
| Servlet:SPEC:62 | 7 | 2 | A session is considered 'new' if either of the following are true: | true |
| false | technology | active | true |
| Servlet:SPEC:62.1 | 7 | 2 | The client does not yet know about the session. | true |
| false | technology | active | true |
| Servlet:SPEC:62.2 | 7 | 2 | The client chooses not to join a session. | true |
| false | technology | active | true |
| Servlet:SPEC:63 | 7 | 3 | HttpSession objects must be scoped at the application (or servlet context) level. The underlying mechanism, such as the cookies used to establish the session, can be the same for different context, but the object references, including the attributes in that object, must never be shared between context by the container. Additionally, sessions of a context must be resumable by requests into that context regardless of whether their associated context was being accessed directly or as the target of a request dispatch at the time the sessions were created. | true |
| false | technology | active | true |
| Servlet:SPEC:64 | 7 | 4 | The valueBound method must be called before the object is made available vai the getAttribute method of the HttpSession interface. | true |
| false | technology | active | false |
| Servlet:SPEC:65 | 7 | 4 | The valueUnbound method must be called after the object is no longer available via the getAttribute method of the HttpSession interface. | true |
| false | technology | active | false |
| Servlet:SPEC:66 | 7 | 5 | The default timeout period for sessions is defined by the servlet container and can be obtained via the getMaxInactiveInterval method of the HttpSession interface. | true |
| false | technology | active | false |
| Servlet:SPEC:67 | 7 | 5 | Invalidation will not take effect until all servlets using that session have exited the service method. | true |
| false | technology | active | true |
| Servlet:SPEC:68 | 7 | 7.2 | Within an application marked as distributable, all request that are part of a session must be handled by one virtual machine at a time. | false |
| false | technology | active | false |
| Servlet:SPEC:69 | 7 | 7.2 | The container must be able to handle all objects placed into instances of the HttpSession class using the setAttribute or putValue methods appropriately, with the following restrictions: | true |
| false | technology | active | false |
| Servlet:SPEC:69.1 | 7 | 7.2 | The container must accept objects that implement the Serializable interface. | true |
| false | technology | active | false |
| Servlet:SPEC:69.2 | 7 | 7.2 | The container may choose to support storage of other designated objects in the HttpSession, such as references to Enterprise JavaBean components and transactions. | false |
| false | technology | active | false |
| Servlet:SPEC:69.3 | 7 | 7.2 | Migration of sessions will be handled by container-specific facilities. | false |
| true | technology | active | false |
| Servlet:SPEC:70 | 7 | 7.2 | The distributed servlet container must throw an IllegalArgumentException for objects where the container cannot support the mechanism necessary for migration of the session storing them. | true |
| false | technology | active | false |
| Servlet:SPEC:71 | 7 | 7.2 | The distributed servlet container must support the mechanism necessary for migrating objects that implement Serializable. | true |
| false | technology | active | false |
| Servlet:SPEC:72 | 7 | 7.2 | Distributed servlet containers must support the mechanism necessary for migrating objects that implements Serializable. | true |
| false | platform | active | false |
| Servlet:SPEC:73 | 7 | 7.2 | If distributed contains persist or migrate sessions to provide quality of service features, they are not restricted to using the native JVM Serialization mechanism for serializing HttpSessions and their attributes. | false |
| true | technology | active | false |
| Servlet:SPEC:74 | 7 | 7.2 | Containers must notify any session attributes implementing the HttpSessionActivationListener during migration of a session. They must notify listeners of passivation prior to serialization of a session, and of activation after deserialization of a session | true |
| false | technology | active | false |
| Servlet:SPEC:75 | 8 | 2 | The Container provider must ensure that the dispatch of the request to a target servlet occurs in the same thread of the same VM as the original request. | true |
| false | technology | active | false |
| Servlet:SPEC:192 | 8 | 3 | The include method of the RequestDispatcher interface may be called at any time. The target servlet of the include method has access to all aspects of the request object, but its use of the response object is more limited. | true |
| false | technology | active | true |
| Servlet:SPEC:192.1 | 8 | 3 | It can only write information to the ServletOutputStream or Writer of the response object | true |
| false | technology | active | true |
| Servlet:SPEC:192.2 | 8 | 3 | commit a response by writing content past the end of the response buffer | true |
| false | technology | active | true |
| Servlet:SPEC:192.3 | 8 | 3 | commit a response by explicitly calling the flushBuffer method of the ServletResponse interface. | true |
| false | technology | active | true |
| Servlet:SPEC:192.4 | 8 | 3 | It cannot set headers or call any method that affects the headers of the response, with the exception of the HttpServletRequest. getSession() and HttpServletRequest.getSession(boolean) methods. Any attempt to set the headers must be ignored, and any call to HttpServletRequest. getSession() or HttpServletRequest.getSession( boolean) that would require adding a Cookie response header must throw an IllegalStateException if the response has been committed. | true |
| false | technology | active | true |
| Servlet:SPEC:76 | 8 | 3.1 | Except for servlets obtained by using the getNamedDispatcher method, a servlet being used from within an include has access to the path by which it was invoked. The following request attributes are set: | true |
| false | technology | active | true |
| Servlet:SPEC:76.1 | 8 | 3.1 | 'javax.servlet.include.request_uri' which is the URI by which it was invoked. | true |
| false | technology | active | true |
| Servlet:SPEC:76.2 | 8 | 3.1 | 'javax.servlet.include.context_path' which is the context path portion of the request URI by which it was invoked. | true |
| false | technology | active | true |
| Servlet:SPEC:76.3 | 8 | 3.1 | 'javax.servlet.include.servlet_path' the servlet-path portion of the request URI by which it was invoked. | true |
| false | technology | active | true |
| Servlet:SPEC:76.4 | 8 | 3.1 | 'javax.servlet.include.path_info' the path-info portion of the request URI by which it was invoked. | true |
| false | technology | active | true |
| Servlet:SPEC:76.5 | 8 | 3.1 | 'javax.servlet.include.query_string' the query string portion of the request URI by which it was invoked. | true |
| false | technology | active | true |
| Servlet:SPEC:77 | 8 | 4 | If output data exists in the response buffer that has not been committed, the content must be cleared before the target's service method is called. | true |
| false | technology | active | true |
| Servlet:SPEC:78 | 8 | 4 | The path elements of the request object exposed to the target servlet must reflect the path used to obtain the RequestDispatcher. | true |
| false | technology | active | true |
| Servlet:SPEC:79 | 8 | 4 | If the RequestDispatcher was obtained through getNamedDispatcher the path elements of the request object must reflect those of the original request. | true |
| false | technology | active | false |
| Servlet:SPEC:80 | 8 | 4 | Before the forward method of the RequestDispatcher interface returns, the response content must be sent and committed, and closed by the servlet container. | true |
| false | technology | active | true |
| Servlet:SPEC:81 | 8 | 4.1 | The request dispatching mechanism is responsible for aggregating query string parameters when forwarding or including requests. | true |
| false | technology | deprecated | true |
| Servlet:SPEC:180 | 8 | 4.2 | Except for servlets obtained by using the getNamedDispatcher method, a servlet that has been invoked by another servlet using the forward method of RequestDispatcher has access to the path of the original request. The values of these attributes must be equal to the return values of the HttpServletRequest methods getRequestURI, getContextPath, getServletPath, getPathInfo, getQueryString respectively, invoked on the request object passed to the first servlet object in the call chain that received the request from the client. These attributes are accessible from the forwarded servlet via the getAttribute method on the request object. Note that these attributes must always reflect the information in the original request even under the situation that multiple forwards and subsequent includes are called. If the forwarded servlet was obtained by using the getNamedDispatcher method, these attributes must not be set. | true |
| false | technology | active | true |
| Servlet:SPEC:180.1 | 8 | 4.2 | javax.servlet.forward.request_uri | true |
| false | technology | active | true |
| Servlet:SPEC:180.2 | 8 | 4.2 | javax.servlet.forward.context_path | true |
| false | technology | active | true |
| Servlet:SPEC:180.3 | 8 | 4.2 | javax.servlet.forward.servlet_path | true |
| false | technology | active | true |
| Servlet:SPEC:180.4 | 8 | 4.2 | javax.servlet.forward.path_info | true |
| false | technology | active | true |
| Servlet:SPEC:180.5 | 8 | 4.2 | javax.servlet.forward.query_string | true |
| false | technology | active | true |
| Servlet:SPEC:181 | 8 | 4.2 | If the forwarded servlet was obtained by using the getNamedDispatcher method, these attributes must not be set. | true |
| false | technology | active | true |
| Servlet:SPEC:181.1 | 8 | 4.2 | javax.servlet.forward.request_uri | true |
| false | technology | active | true |
| Servlet:SPEC:181.2 | 8 | 4.2 | javax.servlet.forward.context_path | true |
| false | technology | active | true |
| Servlet:SPEC:181.3 | 8 | 4.2 | javax.servlet.forward.servlet_path | true |
| false | technology | active | true |
| Servlet:SPEC:181.4 | 8 | 4.2 | javax.servlet.forward.path_info | true |
| false | technology | active | true |
| Servlet:SPEC:181.5 | 8 | 4.2 | javax.servlet.forward.query_string | true |
| false | technology | active | true |
| Servlet:SPEC:82 | 8 | 5 | If the servlet that is the target of a request dispatcher throws a runtime exception or a checked exception of type ServletException or IOException, it should be propagated to the calling servlet. | true |
| false | technology | active | true |
| Servlet:SPEC:83 | 8 | 5 | All other exceptions (not a runtime, ServletException, or IOException) should be wrapped as ServletExceptions with the root cause the original exception before propagation. | true |
| false | technology | active | true |
| Servlet:SPEC:84 | 9 | 1 | An instance of a web application, by default, must run on one VM at any one time. | true |
| false | technology | active | false |
| Servlet:SPEC:85 | 9 | 1 | An application marked as distributable must obey a more restrictive set of rules than is required of a normal web application (the rules are set through out this list.) | true |
| false | technology | active | false |
| Servlet:SPEC:86 | 9 | 2 | The servlet container must enforce a one to one correspondence between a web application and a ServletContext. A ServletContext object provides a servlet with its view of the application. | true |
| false | technology | active | false |
| Servlet:SPEC:87 | 9 | 5 | Since the context path of an application determines the URL namespace of the context of the web application, web containers must reject web application defining a context path could cause potential conflicts in this URL namespace. | true |
| false | technology | active | false |
| Servlet:SPEC:88 | 9 | 5 | Since request are matched to resources case sensitively, this determination of potential context path namespace conflicts must be performed case sensitively as well. | true |
| false | technology | active | false |
| Servlet:SPEC:89 | 9 | 5 | The WEB-INF node (or directory) of a web application is not part of the public document tree of the application. Any requests to access the resources in /WEB-INF directory must be returned with a SC_NOT_FOUND(404) response. | true |
| false | technology | active | true |
| Servlet:SPEC:90 | 9 | 5 | The contents of /WEB-INF are visible to Servlets through the use of ServletContext.getResource or ServletContext.getSourceAsStream. | true |
| false | technology | active | true |
| Servlet:SPEC:91 | 9 | 5 | The web applcation classloader must load classes from the WEB-INF/ classes directory first, and then from the library JARs in the WEB-INF directory. | true |
| false | technology | active | true |
| Servlet:SPEC:92 | 9 | 6 | When web applications are packaged in a WAR file (Web ARchive file), a META-INF directory will be present which contains information useful to Java Archive tools. | true |
| false | technology | active | true |
| Servlet:SPEC:92.1 | 9 | 6 | Any requests to the META-INF directory of a packaged web application will be returned with a SC_NOT_FOUND(404) response. | true |
| false | technology | active | true |
| Servlet:SPEC:92.2 | 9 | 6 | The content of the META-INF directory of a packaged web application is accessible to servlets using the getResource and getResourceAsStream methods of the ServletContext. | true |
| false | technology | active | true |
| Servlet:SPEC:93 | 9 | 7.1 | Java EE technology-compliant containers are required to provide a mechanism by which a deployer can learn what JAR files containing resources and code are available for the Web application. | true |
| true | technology | active | false |
| Servlet:SPEC:97 | 9 | 7.1 | Containers should provide a convenient procedure for editing and configuring library files or extensions. | false |
| true | technology | active | false |
| Servlet:SPEC:94 | 9 | 7.1 | During deployment of the Web application, the Web container must make the correct versions of the extensions available to the application following the rules defined by the Optional Package Versioning mechanism (http://java.sun.com/j2se/1.4/docs/guide/extensions/). | true |
| false | technology | active | false |
| Servlet:SPEC:95 | 9 | 7.1 | Web containers must also be able to recognize declared dependencies expressed in the manifest entry of any of the library JARs under the WEB-INF/lib entry in a WAR. | true |
| false | technology | active | false |
| Servlet:SPEC:96 | 9 | 7.1 | If a web container is not able to satisfy the dependencies declared via manifest files, it should reject the application with an informative error message. | false |
| false | technology | active | false |
| Servlet:SPEC:98 | 9 | 7.2 | The classloader that a container uses to load a servlet in a WAR must allow the developer to load any resources contained in library JARs within the WAR following normal J2SE semantics using getResource. | true |
| false | technology | active | true |
| Servlet:SPEC:99 | 9 | 7.2 | As described in the J2SE license agreement, servlet containers that are not part of a Java EE product should not allow the application to override J2SE platform classes, such as those in the java.* and javax.* namespaces, that J2SE does not allow to be modified. | true |
| false | technology | active | true |
| Servlet:SPEC:99.1 | 9 | 7.2 | Also, servlet containers that are part of a Java EE product should not allow the application to override J2SE or Java EE platform classes, such as those in the java.* and javax.* namespaces, that either J2SE or Java EE do not allow to be modified. | true |
| false | technology | active | true |
| Servlet:SPEC:99.2 | 9 | 7.2 | The class loader that a container uses to load a servlet in a WAR must allow the developer to load any resources contained in library JARs within the WAR following normal J2SE semantics using getResource. | true |
| false | technology | active | true |
| Servlet:SPEC:99.3 | 9 | 7.2 | It is recommended also that the application class loader be implemented so that classes and resources packaged within the WAR are loaded in preference to classes and resources residing in container-wide library JARs. | true |
| false | technology | active | true |
| Servlet:SPEC:100 | 9 | 7.2 | It is recommended that the loader not allow servlets in the WAR access to the web container's implementation classes. | false |
| false | technology | active | false |
| Servlet:SPEC:101 | 9 | 7.2 | It is recommended also that the application classloader be implemented so that classes and resources packaged within the WAR are loaded in preference to classes and resources residing in container-wide library JARs. | false |
| false | technology | active | false |
| Servlet:SPEC:102 | 9 | 8 | A server should be able to replace an application with a new version without restarting the container. When an application is replaced, the container should provide a robust method for preserving session data within that application. | false |
| true | technology | active | false |
| Servlet:SPEC:103 | 9 | 9.1 | A web application must be able to specify that when errors occur other resources in the application are used to provide the content body of the error response. | true |
| false | technology | active | true |
| Servlet:SPEC:104 | 9 | 9.1 | If the location of the error handler is a servlet or JSP page, then: | true |
| false | technology | active | true |
| Servlet:SPEC:104.1 | 9 | 9.1 | The original unwrapped request and response objects created by the container are passed to the servlet or JSP page. | true |
| false | technology | active | true |
| Servlet:SPEC:104.2 | 9 | 9.1 | The response setStatus method is disabled and ignored if called. | true |
| false | technology | removed | true |
| Servlet:SPEC:104.3 | 9 | 9.1 | The request path and attributes are set as if a RequestDispatcher.forward to the error resource has been performed. | true |
| false | technology | active | true |
| Servlet:SPEC:104.3.1 | 9 | 9.1 | The request attribute 'javax.servlet.error.status_code' of type 'java.lang.Integer' will be set containing the HTTP status code of the error condition. | true |
| false | technology | active | true |
| Servlet:SPEC:104.3.2 | 9 | 9.1 | The request attribute 'javax.servlet.error.exception_type' of type 'java.lang.Class' will be set if the error page was invoked due to an uncaught exception. | true |
| false | technology | active | true |
| Servlet:SPEC:104.3.3 | 9 | 9.1 | The request attribute 'javax.servlet.error.message' of type 'java.lang.String' will be set if the error page was invoked due to an uncaught exception. | true |
| false | technology | active | true |
| Servlet:SPEC:104.3.4 | 9 | 9.1 | The 'javax.servlet.error.exception' attribute of type 'java.lang.Throwable' will be set if the error page was invoked due to an uncaught exception. | true |
| false | technology | active | true |
| Servlet:SPEC:104.3.5 | 9 | 9.1 | The 'javax.servlet.error.request_uri' attribute of type 'java.lang.String' will contain the URI of the offending resource. | true |
| false | technology | active | true |
| Servlet:SPEC:104.3.6 | 9 | 9.1 | The 'javax.serlvet.error.servlet_name' attribute of type 'java.lang.String' will contain the logical name of the servlet in which the error occurred. | true |
| false | technology | active | true |
| Servlet:SPEC:105 | 9 | 9.2 | If the sendError method is called on the response, the container consults the list of error page declarations for the web application that use the status-code syntax and attempts a match. If there is a match, the container returns the resource as indicated by the location entry. | true |
| false | technology | active | true |
| Servlet:SPEC:106 | 9 | 9.2 | In the case where the container is matching error pages based on the exception-type element, a match results in the container returning the resource indicated in the location entry. The closest match in the class hierarchy wins. | true |
| false | technology | active | true |
| Servlet:SPEC:107 | 9 | 9.2 | If no error-page declaration containing an exception-type fits using the class-hierarchy match, and the exception throws is a ServletException or subclass thereof the container extraces the wrapped exception, as defined by the ServletException.getRootCause method and a second pass is made of the error page declarations, again attempting the match against the error page declearations, but using the wrapped exception. | true |
| false | technology | active | true |
| Servlet:SPEC:108 | 9 | 9.2 | Error-page declarations using the exception-type element in the deployment descriptor must be unique up to the class name of the exception type. | true |
| false | technology | active | false |
| Servlet:SPEC:109 | 9 | 9.2 | Error page declarations using the status-code elements must be unique in the deployment descriptor up to the status-code. | true |
| false | technology | active | true |
| Servlet:SPEC:110 | 9 | 9.2 | The error page mechanism does not intervene when errors occur when invoked using the RequestDispatcher or Filter.doFilter method. In this way, a filter or servlet using the RequestDispatcher has the opportunity to handle errors generated. | true |
| false | technology | active | true |
| Servlet:SPEC:111 | 9 | 9.2 | If a servlet generates an error that is not handled by the error page mechanism as described above, the container must ensure to send a response with status 500. | true |
| false | technology | active | true |
| Servlet:SPEC:112 | 9 | 9.2 | The default servlet and container will use the sendError method to send 4xx and 5xx responses so that the error mechanism may be invoked. | true |
| false | technology | active | true |
| Servlet:SPEC:113 | 9 | 9.2 | The default servlet and container will use the setStatus method to send 2xx and 3xx responses to bypass the error mechanism | true |
| false | technology | active | true |
| Servlet:SPEC:114 | 9 | 10 | If a web container receives a valid partial request, the web container must examine the welcome files list, which is an ordered list of partial URLs, with no leading or trailing slash, and append the each welcome file to the partial URI in the order it was defined to find a match. The web container must send the request to the first resource in the WAR that matches. | true |
| false | technology | active | true |
| Servlet:SPEC:115 | 9 | 10 | If no welcome file match is found, the container may handle the request as it sees fit. | true |
| true | technology | active | false |
| Servlet:SPEC:116 | 9 | 11 | Java EE compliant servlet containers are required to support the following elements of the web deployment descriptor for specifying information allowing a servlet to obtain references to resources and enterprise beans. The deployment elements that contain this information are: | true |
| false | platform | active | true |
| Servlet:SPEC:116.1 | 9 | 11 | env-entry | true |
| false | platform | active | true |
| Servlet:SPEC:116.2 | 9 | 11 | ejb-ref | true |
| false | platform | active | true |
| Servlet:SPEC:116.3 | 9 | 11 | ejb-local-ref | true |
| false | platform | active | true |
| Servlet:SPEC:116.4 | 9 | 11 | resource-env-ref | true |
| false | platform | active | true |
| Servlet:SPEC:116.5 | 9 | 11 | resource-ref | true |
| false | platform | active | true |
| Servlet:SPEC:117 | 9 | 11 | If the standalone container does not support these lookup facilities, the container should provide a warning upon deployment of an application that has dependencies on such resources. | false |
| false | technology | active | false |
| Servlet:SPEC:118 | 9 | 11 | Servlet containers that are part of a Java EE technology compliant implementation must support lookups of such objects and calls made to those objects when performed on a thread managed by the servlet container. | true |
| false | platform | active | true |
| Servlet:SPEC:119 | 9 | 11 | Such servlet containers should support this lookup behavior when performed on threads created by the developer, but are not required to do so. | false |
| false | technology | active | false |
| Servlet:SPEC:120 | 10 | 3.1 | Each listener class specified in the deployment descriptor must have a public constructor taking no arguments. | true |
| false | technology | active | false |
| Servlet:SPEC:121 | 10 | 3.2 | Listeners will be invoked in the order that they are defined in the deployment descriptor. | true |
| false | technology | removed | true |
| Servlet:SPEC:122 | 10 | 3.3 | The web container creates an instance of each listener class and registers it for event notifications prior to the processing of the first request by the application | true |
| false | technology | active | false |
| Servlet:SPEC:123 | 10 | 3.3 | The web container registers the listener instances according to the interfaces they implement and the order in which they appear in the deployment descriptor. | true |
| false | technology | active | true |
| Servlet:SPEC:124 | 10 | 3.3 | During web application execution listeners are invoked in the order of their registration. | true |
| false | technology | active | true |
| Servlet:SPEC:125 | 10 | 3.4 | On application shutdown, listeners are notified in reverse order to their declarations with notifications to session listeners preceeding notifications to context listeners. Session listeners must be notified of session invalidations prior to context listeners being notified of application shutdown. | true |
| false | technology | active | false |
| Servlet:SPEC:126 | 10 | 5 | The container is required to complete instantiation of the listener classes in a web application prior to the start of execution of the first request into the application. | true |
| false | technology | active | true |
| Servlet:SPEC:127 | 10 | 5 | The container must maintain a reference to each listener instance until the last request is serviced for the web application. | true |
| false | technology | active | false |
| Servlet:SPEC:128 | 10 | 6 | The container must allow unhandled exceptions to be handled by the error page mechanism described in Section SRV.9.9, "Error Handling". If there is no error page specified for those exceptions, the container must ensure to send a response back with status 500. In this case no more listeners under that event are called. | true |
| false | technology | active | true |
| Servlet:SPEC:129 | 10 | 6 | In cases where it is not possible to handle an Exception in application code (ex. an Exception occuring during initialization of a ContextListener), the container may response to all subsequent requests with an HTTP status code of 500 to indicate application error. | false |
| false | technology | active | false |
| Servlet:SPEC:130 | 10 | 7 | In distributed web containers, HttpSession instances are scoped to the particular VM services session requests, and the ServletContext object is scoped to the web container's VM. | false |
| false | technology | active | false |
| Servlet:SPEC:131 | 10 | 7 | Distributed containers are not required to propogate either servlet context events or HttpSession events to other VMs. | false |
| false | technology | active | false |
| Servlet:SPEC:132 | 10 | 7 | Listener class instances are scoped to one per deployment descriptor declaration per Java virtual machine. | true |
| false | technology | active | false |
| Servlet:SPEC:133 | 11 | 1 | Upon receipt of a client request, the web container determines the web application to which to forward it. The web application selected must have the longest context path that matches the start of the request URL. The matched port of the URL is the context path when mapping to servlets. | true |
| false | technology | active | true |
| Servlet:SPEC:134 | 11 | 1 | The web container next must locate the servlet within the matched context to process the request using the following algorithm (NOTE: The path used for mapping to a servlet is the request URL from the request object minus the context path and the path parameters. The URL path mapping rules below are used in order. The first successful match is used with no further matches attempted): | true |
| false | technology | active | true |
| Servlet:SPEC:134.1 | 11 | 1 | The container will try to find an exact match of the path of the request to the path of the servlet. A successful match selects the servlet. | true |
| false | technology | active | true |
| Servlet:SPEC:134.2 | 11 | 1 | The container will recursively try to match the longest path-prefix: This is done by stepping down the path tree a directory at a time, using the '/' character as a path separator. The longest match determines the servlet selected. | true |
| false | technology | active | true |
| Servlet:SPEC:134.3 | 11 | 1 | If the last segment in the URL path contains an extension (e.g. .jsp), the servlet container will try to match a servlet that handles requests for the extension. An extension is defined as the part of the last segment after the last '.' character. | true |
| false | technology | active | true |
| Servlet:SPEC:134.4 | 11 | 1 | If neither the previous rules result in a servlet match, the container will attempt to serve content appropriate for the resource requested. If a "default" servlet is defined for the applications, it will be used. | true |
| false | technology | active | true |
| Servlet:SPEC:134.5 | 11 | 1 | The container must use case-sensitive string comparisons for matching. | true |
| false | technology | active | true |
| Servlet:SPEC:135 | 11 | 2.1 | If the container has an internal JSP container, the *.jsp extension is mapped to it, allowing JSP pages to be executed on demand. | true |
| false | technology | active | false |
| Servlet:SPEC:136 | 11 | 2.1 | A servlet container is allowed to make other implicit mappings as long as explicit mappings take precedence. | false |
| false | technology | active | false |
| Servlet:SPEC:137 | 12 | 2 | Declarative security constraints are not applied when a servlet uses the RequestDispatcher to invoke a static resource or servlet using a forward or an include. | true |
| false | platform | active | true |
| Servlet:SPEC:138 | 12 | 3 | The isUserInRole method uses the security-role-ref element when determining the return value of the call. If no security-role-ref element matching a security-role element has been declared, the container must default to checking the role-name element against the list of security-role elements for the web applications. | true |
| false | platform | active | true |
| Servlet:SPEC:139 | 12 | 4 | A servlet container enforces declarative or programmatic security for the principal associated with an incoming request based on the security attributes of the principal. This may happen in either of the following ways: | true |
| false | platform | active | true |
| Servlet:SPEC:139.1 | 12 | 4 | A deployer has mapped a security role to a user group in the operational environment. The user group to which the calling principal belongs is retrieved from its security attributes. The principal is in the security role only if the principals user group matches the user group to which the security role has been mapped by the deployer. | true |
| false | platform | active | true |
| Servlet:SPEC:139.2 | 12 | 4 | A deployer has mapped a security role to a principal name in a security policy domain. In this case, the principal name of the calling principal is retrieved from its security attributes. The principal is in the security role only if the principal name is the same as a principal name to which the security role was mapped. | true |
| false | platform | active | true |
| Servlet:SPEC:140 | 12 | 5.1 | HTTP Basic Authentication is required to be supported by servlet containers. | true |
| false | platform | active | true |
| Servlet:SPEC:141 | 12 | 5.2 | HTTP Digest Authentication is not a required authentication mechanism for servlet containers. | false |
| false | platform | active | false |
| Servlet:SPEC:142 | 12 | 5.3 | Form based authentication allows the customization of the login screen. | true |
| false | platform | active | false |
| Servlet:SPEC:142.1 | 12 | 5.3 | The login form used for form based authentication must contain fields for entering a username and a password. These fields must be j_username and j_password, respectively. | true |
| false | platform | active | true |
| Servlet:SPEC:142.2 | 12 | 5.3 | The login form used by the container can be specified within the deployment descriptor. | true |
| false | platform | active | true |
| Servlet:SPEC:142.3 | 12 | 5.3 | An error page can be specified in the deployment descriptor which will be returned on failed form based authentication attempts. | true |
| false | platform | active | true |
| Servlet:SPEC:142.4 | 12 | 5.3 | The authentication process for form based login: | true |
| false | platform | active | false |
| Servlet:SPEC:142.4.1 | 12 | 5.3 | The login form associated with the security constraint is sent to the client and the URL path triggering the authentication is stored by the container. | true |
| false | platform | active | true |
| Servlet:SPEC:142.4.2 | 12 | 5.3 | The container attempts to authenticate the user using the information from the form. | true |
| false | platform | active | true |
| Servlet:SPEC:142.4.3 | 12 | 5.3 | If authentication fails, the error page is returned using either a forward or a redirect, and the status code of the response is set to 200. | true |
| false | platform | active | true |
| Servlet:SPEC:142.4.4 | 12 | 3.1 | If authentication succeeds, the authenticated user's principal is check to see if it is in an authroized role for accessing the resource. | true |
| false | platform | active | true |
| Servlet:SPEC:142.4.5 | 12 | 3.1 | If the user is authorized, the client is redirected to the resource using the stored URL path. | true |
| false | platform | active | true |
| Servlet:SPEC:142.5 | 12 | 5.3.1 | The action of the login form must always be j_security_check. | true |
| false | platform | active | true |
| Servlet:SPEC:142.6 | 12 | 5.3.1 | If the form based login is invoked because of an HTTP request, the original request parameters must be preserved by the container for use if on successful authentication, it redirects the call to the requested resource. | true |
| false | platform | active | true |
| Servlet:SPEC:142.7 | 12 | 5.3.1 | If the user is authenticated using form login and has created an HTTP session, the timeout or invalidation of that session leads to the user being logged out in the sense that subsequent requests must cause the user to be re-authenticated. | true |
| false | platform | active | true |
| Servlet:SPEC:143 | 12 | 5.4 | Servlet containers that are not Java EE technology compliant are not required to support HTTPS protocol/authentication. | false |
| false | platform | active | false |
| Servlet:SPEC:144 | 12 | 6 | Servlet containers are required to track authentication information at the container level rather than at the web application level. | true |
| false | platform | active | false |
| Servlet:SPEC:145 | 12 | 7 | A security identity, or principal, must always be provided for use in a call to an enterprise bean. | true |
| true | platform | active | false |
| Servlet:SPEC:146 | 12 | 7 | The default mode in calls to enterprise beans from web applications is for the security identity of a web user to be propagated to the EJB container. | true |
| true | platform | active | false |
| Servlet:SPEC:147 | 12 | 7 | If a container supports calls to EJB's containers are required to support access to web resources by clients that have not authenticated themselves to the container through the use of the run-as element of the deployment descriptor. The container will use this identity when propagating the call from the web layer to the EJB layer. | true |
| false | platform | active | false |
| Servlet:SPEC:147.1 | 12 | 7 | The security role propagated through the run-as element must be a security role defined in the deployment descriptor of the web application. | true |
| true | platform | active | false |
| Servlet:SPEC:148 | 12 | 7 | Web containers running as part of a Java EE platform, the use of run-as elements must be supported both for calls to EJB components within the same Java EE application, and for calls to EJB components deployed in other Java EE applications. | true |
| false | platform | active | false |
| Servlet:SPEC:149 | 12 | 8 | If a request is issued against a set of protected resources the user who made the request must be a member of at least one of the named roles to be permitted to perform the contrained requests. | true |
| false | platform | active | true |
| Servlet:SPEC:150 | 12 | 8 | The special role name "*" is a shorthand for all role names defined in the deployment descriptor. | true |
| false | platform | active | true |
| Servlet:SPEC:151 | 12 | 8 | An auth constraint that names no roles indicates that access ot the contrained resources must not be permitted under any circumstances. | true |
| false | platform | active | true |
| Servlet:SPEC:152 | 12 | 8 | A user data constraint establishes a requirement that the constrained requests be received over a protected transport layer connection. | true |
| false | platform | active | false |
| Servlet:SPEC:152.1 | 12 | 8 | A transport guarantee of INTEGRAL is used to establish a requirement for content integrity. | true |
| false | platform | active | false |
| Servlet:SPEC:152.2 | 12 | 8 | A transport guarantee of CONFIDENTIAL is used to establish a requirement for confidentiality. | true |
| false | platform | active | false |
| Servlet:SPEC:152.3 | 12 | 8 | A transport guarantee of NONE indicates that the container must accept the constrained requests when received on any connection including unprotected ones. | true |
| false | platform | active | true |
| Servlet:SPEC:153 | 12 | 8 | If no auth-constraing applies to a request, the container must accept the request without requiring user authentication. | true |
| false | platform | active | true |
| Servlet:SPEC:154 | 12 | 8.1 | When a url-pattern and http-method pair occurs in multiple security constraints, the applicable constraints (on the pattern and the method) are defined by combining the individual constraints. | true |
| false | platform | active | true |
| Servlet:SPEC:154.1 | 12 | 8.1 | A security constraint that does not contain an auth constraint shall combine with auth constraints that name or imply roles to allow unauthenticated access. | true |
| false | platform | active | true |
| Servlet:SPEC:154.2 | 12 | 8.1 | The special case of an auth constraint that names no roles shall combine with any other constraints to override their affects and cause access to be precluded. | true |
| false | platform | active | true |
| Servlet:SPEC:154.3 | 12 | 8.1 | The combination of user-data constraints that apply to a common usr-pattern and http-method shall yield the union of connection types accepted by the individual constraints as acceptable connection types. | true |
| false | platform | active | false |
| Servlet:SPEC:154.4 | 12 | 8.1 | A security constraint that does not contain a user-data constraint shall combine with other user-data constraints to cause the unprotected connection type to be an accepted connection type. | true |
| false | platform | active | true |
| Servlet:SPEC:155 | 12 | 8.3 | When a Servlet container receives a request, it shall use the url pattern matching algorithm to select the constraints, if any, defined that is the best match to the request URI | true |
| false | platform | active | true |
| Servlet:SPEC:156 | 12 | 8.3 | If no security contraint can be matched between the defined contraints and the request URI, the container will accept the request. | true |
| false | platform | active | true |
| Servlet:SPEC:157 | 12 | 8.3 | If a constraint match is found based on the request URI, the container shall determine if the HTTP method of the request is constrained, if it's not, then the constrained request will be accepted. | true |
| false | platform | active | true |
| Servlet:SPEC:158 | 12 | 8.3 | If the HTTP method is contrained, then the method used for the request must match what is acceptable for the constraint in order for the request to be accepted. | true |
| false | platform | active | true |
| Servlet:SPEC:159 | 12 | 8.3 | If the characteristics of the connection on which the request was received must satisfy at least one of the supported connection types defined by the constraints. If this rule is not satisfied, the container shall reject the request and redirect it to the HTTPS port. | true |
| false | platform | active | true |
| Servlet:SPEC:159.1 | 12 | 8.3 | As an optimization, a container should reject the connection request if it doesn't match the constrained connection types and return a 403 (SC_FORBIDDEN) status code if it knows that access will ultimately be precluded (by an auth constraint naming with no roles). | false |
| false | platform | active | false |
| Servlet:SPEC:160 | 12 | 8.3 | If a constraint naming defined no roles, any attempted requests will result in a 403 (SC_FORBIDDEN). | true |
| false | platform | active | true |
| Servlet:SPEC:161 | 12 | 8.3 | If access is restricted to permitted roles and the request has not been authenticated, the request shall be rejected as unauthorized and a 401 (SC_UNAUTHORIZED) status code shall be returned to cause authentication. | true |
| false | platform | active | true |
| Servlet:SPEC:162 | 12 | 8.3 | If access is restricted to permitted roles and the authentication identity of the request is not a member of any of these roles, the request shall be rejected as forbidden and a 403 (SC_FORBIDDEN) status code shall be returned to the user. | true |
| false | platform | active | true |
| Servlet:SPEC:163 | 12 | 10 | If a developer creates a session while a user is not authenticated, and the container then authenticates the user, the session visible to developer code after login must be the same session object that was created prior to login occurring so that there is no loss of session information. | true |
| false | platform | active | true |
| Servlet:SPEC:164 | 12 | 10.2 | For all authentication methods in both non-single signon and single signon containers, logout is caused by one of the following situations: | true |
| false | platform | removed | true |
| Servlet:SPEC:164.1 | 12 | 10.2 | Invalidation of the session. If this occurs, getUserPrincipal will return a null value. | true |
| false | platform | removed | true |
| Servlet:SPEC:164.2 | 12 | 10.2 | Session timeouts. If this occurs, getUserPrincipal will return a null value. | true |
| false | platform | removed | true |
| Servlet:SPEC:164.3 | 12 | 10.2 | An explicit call to HttpSession.invalidateAll. If this occurs, getUserPrincipal will return a null value. | true |
| false | platform | removed | true |
| Servlet:SPEC:164.4 | 12 | 10.2 | An explicit call to HttpSession.logout.If this occurs, getUserPrincipal will return a null value. | true |
| false | platform | removed | true |
| Servlet:SPEC:165 | 12 | 10.2 | For non-single signon containers, a session invalidating has no effect on login state or session state in other web applications. | true |
| false | platform | active | false |
| Servlet:SPEC:166 | 12 | 10.2 | For single signon containers, logout causes all other active sessions associated with the current user to be invalidated. | true |
| false | platform | active | false |
| Servlet:SPEC:167 | 12 | 10.2 | Invalidation or timeout of an individual session causes the termination of that session, but does not cause a logout unless it is the last session for this user, which means that a container is allowed to start a new session for one or more web applications without re-authenticating the user. | false |
| false | platform | removed | false |
| Servlet:SPEC:168 | 13 | 2 | Servlet 2.5 web containers may use schema to validate the structure of a deployment descriptor. | false |
| false | technology | active | false |
| Servlet:SPEC:169 | 13 | 1 | The deployment-extension element provides the ability to inject application or framework specific configuration information directly into the deployment descriptor. | true |
| true | technology | removed | false |
| Servlet:SPEC:169.1 | 13 | 1 | If a container uses schema to validate a deployment descriptor, any new content injected into deployment-extension elements as described below will not be validated by the web container. | false |
| false | technology | removed | false |
| Servlet:SPEC:169.2 | 13 | 1 | Deployment extensions are only valid within the top level web-app element or within servlet elements. | true |
| false | technology | removed | false |
| Servlet:SPEC:169.3 | 13 | 1.1 | Servlet 2.5 containers are required to raise an exception if they do not recognize an extension within a deployment descriptor where the mustUnderstand attribute is 'true'. | true |
| false | technology | removed | false |
| Servlet:SPEC:169.4 | 13 | 1.1 | Servlet 2.5 containers are not required to attempt to process extended deployment information where the nustUnderstand attribute is set to 'false'. | false |
| false | technology | removed | false |
| Servlet:SPEC:170 | 13 | 1 | Security information which may appear in the deployment descriptor is not required to be supported unless the servlet container is part of an implementation of the Java EE specification. | true |
| false | platform | active | true |
| Servlet:SPEC:193 | 14 | 4.1 | The following additional elements exist in the Web application deployment descriptor to meet the requirements of Web containers that are JSP pages enabledor part of a Java EE application server. They are not required to be supported by containers wishing to support only the servlet specification: | true |
| false | platform | active | true |
| Servlet:SPEC:171 | 14 | 4.1 | jsp-config | true |
| false | platform | active | true |
| Servlet:SPEC:172 | 14 | 4.1 | Syntax for looking up JNDI objects(env-entry, ejb-ref, ejb-local-ref, resource-ref, resource-env-ref) | true |
| false | platform | active | true |
| Servlet:SPEC:193.1 | 14 | 4.1 | Syntax for specifying the message destination (message-destination, message- destination-ref) | true |
| false | platform | active | true |
| Servlet:SPEC:193.2 | 14 | 4.1 | Reference to a Web service (service-ref) | true |
| false | platform | active | true |
| Servlet:SPEC:174 | 13 | 2 | Web containers must remove all leading and trailing
whitespace, which is defined as "S(whitespace)" in XML 1.0 (http://www.w3.org/TR/2000/WD-xml-
2e-20000814), for the element content of the text nodes of a deployment descriptor. | true |
| false | technology | removed | true |
| Servlet:SPEC:175 | 13 | 2 | The containers and tools that are
part of Java EE technology-compliant implementation are required to validate
deployment descriptor against the XML schema for structural correctness. | true |
| false | technology | active | true |
| Servlet:SPEC:176 | 13 | 2 | It is recommended that Web containers and tools that
manipulate Web applications provide a level of semantic checking. For example, it
should be checked that a role referenced in a security constraint has the same
name as one of the security roles defined in the deployment descriptor. | false |
| false | technology | active | true |
| Servlet:SPEC:10176 | 13 | 2 | The sub elements under web-app can be in an arbitrary
order. | true |
| false | technology | active | true |
| Servlet:SPEC:11276 | 13 | 2 | The multiplicity
of the elements distributable, session-config, welcome-file-list, jspconfig,
login-config, and locale-encoding-mapping-list is "0 or more." | true |
| false | technology | active | false |
| Servlet:SPEC:11276.1 | 13 | 2 | Containers must inform the developer
with a descriptive error message when the deployment descriptor contains
more than one element of session-config, jsp-config, and login-config. | true |
| false | technology | active | false |
| Servlet:SPEC:11276.2 | 13 | 3 | The deployment descriptor instance
file must not contain multiple elements of session-config,
jsp-config, and login-config. | true |
| false | technology | active | false |
| Servlet:SPEC:11276.3 | 13 | 2 | The container must concatenate the items
in welcome-file-list and localeencoding-mapping-list when there are multiple occurrences. | true |
| false | technology | active | true |
| Servlet:SPEC:11276.4 | 13 | 2 | The multiple
occurrence of distributable must be treated exactly in the same way as the
single occurrence of distributable. | true |
| false | technology | active | true |
| Servlet:SPEC:11276 | 13 | 2 | URI paths specified in the deployment descriptor are
assumed to be in URLdecoded form. | true |
| false | technology | active | false |
| Servlet:SPEC:11276.1 | 13 | 2 | The containers must inform the developer
with a descriptive error message when URL contains CR(#xD) or LF(#xA). | true |
| false | technology | active | false |
| Servlet:SPEC:11276.2 | 13 | 2 | The containers must
preserve all other characters including whitespace in URL. | true |
| false | technology | active | true |
| Servlet:SPEC:177 | 13 | 2 | Containers must attempt to canonicalize paths in present in the deployment descriptor. | false |
| false | technology | active | true |
| Servlet:SPEC:178 | 13 | 3 | Paths beginning or resolving to paths that begin with ".." are not valid paths in the deployment descriptor. | true |
| false | technology | active | false |
| Servlet:SPEC:179 | 13 | 3 | Elements whose valus is an enumerated type must be treated in a case sensitive manner. | true |
| false | technology | active | false |
| Servlet:SPEC:182 | 9 | 12 | When a web application is deployed into a container, the following steps must be performed, in this order, before the web application begins processing client requests.
1. Instantiate an instance of each event listener identified by a <listener> element in the deployment descriptor.
2. For instantiated listener instances that implement ServletContextListener, call the contextInitialized() method.
3. Instantiate an instance of each filter identified by a <filter> element in the deployment descriptor and call each filter instances init() method.
4. Instantiate an instance of each servlet identified by a <servlet> element that includes a <load-on-startup> element in the order defined by the load-onstartup element values, and call each servlet instances init() method.
| true |
| false | technology | active | true |
| Servlet:SPEC:183 | 5 | 2 | The setHeader method sets a header with a given name and value. A previous header is replaced by the new header. Where a set of header values exist for the name, the values are cleared and replaced with the new value.
| true |
| false | technology | active | true |
| Servlet:SPEC:184 | 14 | 2 | Java EE technology-compliant containers are required to provide a mechanism by which a deployer can learn about what jar file containing resources and code are available for the Web application. | true |
| false | platform | active | false |
| Servlet:SPEC:185 | 14 | 2 | Containers should provide a convenient procedure for editing and configuring library files or extensions. | false |
| true | platform | active | false |
| Servlet:SPEC:186 | 14 | 2.1 | Servlet containers that are part of a Java EE product should not allow the application to override Java SE or Java EE platform classes, such as those in the java.* and javax.* namespaces, that either Java SE or Java EE do not allow to be modified. | true |
| false | platform | active | true |
| Servlet:SPEC:187 | 14 | 3.1 | A security identity, or principal, must always be provided for use in a call to an enterprise bean. | true |
| true | platform | active | true |
| Servlet:SPEC:188 | 14 | 3.1 | The default mode in calls to enterprise beans from web applications is for the security identity of a web user to be propagated to the EJB container. | true |
| true | platform | active | true |
| Servlet:SPEC:189 | 14 | 3.1 | web containers are required to allow web users that are not known to the web container or to the EJB container to make calls: | true |
| false | platform | active | true |
| Servlet:SPEC:189.1 | 14 | 3.1 | Web containers are required to support access to web resources by clients that have not authenticated themselves to the container. This is the common mode of access to web resources on the Internet. | true |
| true | platform | active | true |
| Servlet:SPEC:189.2 | 14 | 3.1 | Application code may be the sole processor of signon and customization of data based on caller identity. | true |
| true | platform | active | false |
| Servlet:SPEC:190 | 14 | 3.1 | a web application deployment descriptor may specify a run-as element. When it is specified, the container must propagate the security identity for any call from a servlet to the EJB layer in terms of the security role name defined in the run-as element. The security role name must be one of the security role names defined for the web application. | true |
| false | platform | active | true |
| Servlet:SPEC:191 | 14 | 3.1 | Web containers running as part of a Java EE platform, the use of run-as elements must be supported both for calls to EJB components within the same Java EE application, and for calls to EJB components deployed in other Java EE applications. | true |
| false | platform | active | true |
| Servlet:SPEC:194 | 14 | 4.2 | Web containers may choose to support running components written to implement a Web service endpoint as defined by the JAX-RPC and/or JAX-WS specifications. | false |
| false | technology | active | true |
| Servlet:SPEC:173 | 14 | 4.2 | Web containers embedded in a JavaEE conformant implementation are required to support JAX-RPC and JAX-WS web service components. | true |
| false | platform | active | true |
| Servlet:SPEC:173.1 | 14 | 4.2 | JSR-109 [http://jcp.org/jsr/detail/109.jsp] defines the model for packaging a Web service interface with its associated WSDL description and associated classes. | true |
| false | platform | active | true |
| Servlet:SPEC:173.2 | 14 | 4.2 | JSR-109 defines a mechanism for JAX-WS and JAX-RPC enabled Web containers to link to a component that implements this Web service. | true |
| false | platform | active | true |
| Servlet:SPEC:173.3 | 14 | 4.2 | JAX-WS and JAX-RPC enabled Web containers must support the developer in using the Web deployment descriptor to define the following information for the endpoint implementation component, using the same syntax as for HTTP Servlet components using the servlet element. The child elements are are used to specify endpoint information in the following way: | true |
| false | platform | active | true |
| Servlet:SPEC:173.3.1 | 14 | 4.2 | the servlet-name element defines a logical name which may be used to locate this endpoint description among the other Web components in the WAR | true |
| false | platform | active | true |
| Servlet:SPEC:173.3.2 | 14 | 4.2 | the servlet-class element provides the fully qualified Java class name of this endpoint implementation | true |
| false | platform | active | true |
| Servlet:SPEC:173.3.3 | 14 | 4.2 | the description element(s) may be used to describe the component and may be displayed in a tool | false |
| false | platform | active | true |
| Servlet:SPEC:173.3.4 | 14 | 4.2 | the load-on-startup element specifies the order in which the component is initialized relative to other Web components in the Web container | true |
| false | platform | active | true |
| Servlet:SPEC:173.3.5 | 14 | 4.2 | the security-role-ref element may be used to test whether the authenticated user is in a logical security role | false |
| false | platform | active | true |
| Servlet:SPEC:173.3.6 | 14 | 4.2 | the run-as element may be used to override the identity propagated to EJBs called by this component | true |
| false | platform | active | true |
| Servlet:SPEC:173.4 | 14 | 4.2 | Any servlet initialization parameters defined by the developer for this Web component may be ignored by the container. | false |
| false | platform | active | true |
| Servlet:SPEC:173.5 | 14 | 4.2 | JAX-WS and JAXRPC enabled Web component inherits the traditional Web component mechanisms for defining the following information: | true |
| false | platform | active | true |
| Servlet:SPEC:173.5.1 | 14 | 4.2 | mapping of the component to the Web container s URL namespace using the servlet mapping technique | true |
| false | platform | active | true |
| Servlet:SPEC:173.5.2 | 14 | 4.2 | authorization constraints on Web components using security constraints | true |
| false | platform | active | true |
| Servlet:SPEC:173.5.3 | 14 | 4.2 | the ability to use servlet filters to provide low-level byte stream support for manipulating JAX-WS and/or JAX-RPC messages using the filter mapping technique | true |
| false | platform | active | true |
| Servlet:SPEC:173.5.4 | 14 | 4.2 | the timeout characteristics of any HTTP sessions that are associated with the component | true |
| false | platform | active | true |
| Servlet:SPEC:173.5.5 | 14 | 4.2 | links to Java EE objects stored in the JNDI namespace | true |
| false | platform | active | true |
| Servlet:SPEC:195 | 14 | 5 | Annotations must be supported on the following container managed classes that implement the following interfaces and are declared in the web application deployment descriptor. | true |
| false | platform | active | true |
| Servlet:SPEC:195.1 | 14 | 5 | javax.servlet.Servlet | true |
| false | platform | active | true |
| Servlet:SPEC:195.2 | 14 | 5 | javax.servlet.Filter | true |
| false | platform | active | true |
| Servlet:SPEC:195.3 | 14 | 5 | javax.servlet.ServletContextListener | true |
| false | platform | active | true |
| Servlet:SPEC:195.4 | 14 | 5 | javax.servlet.ServletContextAttributeListener | true |
| false | platform | active | true |
| Servlet:SPEC:195.5 | 14 | 5 | javax.servlet.ServletRequestListener | true |
| false | platform | active | true |
| Servlet:SPEC:195.6 | 14 | 5 | javax.servlet.ServletRequestAttributeListener | true |
| false | platform | active | true |
| Servlet:SPEC:195.7 | 14 | 5 | javax.servlet.http.HttpSessionListener | true |
| false | platform | active | true |
| Servlet:SPEC:195.8 | 14 | 5 | javax.servlet.http.HttpSessionAttributeListener | true |
| false | platform | active | true |
| Servlet:SPEC:196 | 14 | 5 | References must be injected prior to any lifecycle methods being called and the component instance being made available the the application. | true |
| false | platform | active | true |
| Servlet:SPEC:197 | 14 | 5 | In a web application, classes using resource injection will have their annotations processed only if they are located in the WEB-INF/classes directory, or if they are packaged in a jar file located in WEB-INF/lib. | true |
| false | platform | active | true |
| Servlet:SPEC:198 | 14 | 5 | The web application deployment descriptor contains a new full attribute on the web-app element. The full attribute defines whether the web descriptor is complete, or whether the class files of the jar file should be examined for annotations that specify deployment information. If full is set to "true", the deployment tool must ignore any Servlet annotations present in the class files of the application. If the full attribute is not specified or is set to "false", the deployment tool must examine the class files of the application for annotations, as previously specified. | true |
| false | platform | active | true |
| Servlet:SPEC:199 | 14 | 5 | Following are the annotations that are required by a Java EE technology compliant web container. | true |
| false | platform | active | true |
| Servlet:SPEC:199.1 | 14 | 5.4 | @Resource annotation is used to declare a reference to a resource such as a data source, Java Messaging Service (JMS) destination, or environment entry. This annotation is equivalent to declaring a resource-ref, message-destinationref or env-ref, or resource-env-ref element in the deployment descriptor. Resource annotation is specified on a class, method or field. The container is responsible injecting references to resources declared by the Resource annotation and mapping it to the proper JNDI resources. | true |
| false | platform | active | true |
| Servlet:SPEC:199.2 | 14 | 5.11 | @Resources annotation acts as a container for multiple Resource annotations because the Java MetaData specification does not allow for multiple annotations with the same name. | true |
| false | platform | active | true |
| Servlet:SPEC:199.3 | 14 | 5.3 | InjectionComplete annotation is declared on a method which will be called after the resources injections have been completed and before any lifecycle methods on a component are called. This allows application code to do post create processing if necessary. | true |
| false | platform | active | true |
| Servlet:SPEC:199.4 | 14 | 5.2 | Enterprise JavaBeansTM 3.0 (EJB) components may referenced from a web component using the @EJB annotation. @EJB annotation provides the equivalent functionality of declaring the ejb-ref or ejb-local-ref elements in the deployment descriptor. Fields that have a corresponding @EJB annotation are injected with the a reference to the corresponding EJB component. | true |
| false | platform | active | true |
| Servlet:SPEC:199.5 | 14 | 5.13 | @WebServiceRef annotation provides a reference to a web service in a web component in same way as a resource-ref element would in the deployment descriptor. | true |
| false | platform | active | true |
| Servlet:SPEC:199.6 | 14 | 5.5 | This annotation is used to define the security roles that comprise the security model of the application. This annotation is specified on a class, and it typically would be used to define roles that could be tested (i.e., by calling isUserInRole) from within the methods of the annotated class. It could also be used to declare application roles that are not implicitly declared as the result of their use in a @RolesReferenced annotation on the class implementing the javax.servlet. Servlet interface or a subclass thereof. | true |
| false | platform | active | true |
| Servlet:SPEC:199.7 | 14 | 5.12 | The @RunAs annotation is equivalent to the run-as element in the deployment descriptor. The @RunAs annotation may only be defined in classes implementing the javax.servlet.Servlet interface or a subclass thereof. | true |
| false | platform | active | true |
| Servlet:SPEC:200 | 15 | 2.24 | Interface SingleThreadModel Ensures that servlets handle only one request at a time. This interface has no methods.
If a servlet implements this interface, you are guaranteed that no two threads will
execute concurrently in the servlet?s service method. The servlet container can
make this guarantee by synchronizing access to a single instance of the servlet, or
by maintaining a pool of servlet instances and dispatching each new request to a
free servlet.
Note that SingleThreadModel does not solve all thread safety issues. For example,
session attributes and static variables can still be accessed by multiple
requests on multiple threads at the same time, even when SingleThreadModel
servlets are used. It is recommended that a developer take other means to resolve
those issues instead of implementing this interface, such as avoiding the usage of
an instance variable or synchronizing the block of the code accessing those
resources. This interface is deprecated in Servlet API version 2.4.
| true |
| false | technology | deprecated | true |
| Servlet:SPEC:201 | 9 | 13 | A web application is NOT required to contain a web.xml if it does NOT contain any Servlet, Filter, or Listener components. In other words an application containing only static files or JSP pages does not require a web.xml to be present.
| true |
| false | platform | active | true |