NonStop Servlets for JSP System Administrator's Guide
Overview and Architecture
NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide—525644-001
1-12
New Features in the HP NSJSP Implementation
New Features in the HP NSJSP Implementation
New features incorporated in the HP implementation of the Java Servlet 2.3 and the
JavaServer Pages 1.2 specifications include:
Servlet Filtering
A filter can:
•
Intercept a servlet’s invocation before the servlet is called
•
Examine a request before a servlet is called
•
Modify the request headers and request data by providing a customized version of
the request object that wraps the real request
•
Modify the response headers and response data by providing a customized
version of the response object that wraps the real response
•
Intercept a servlet’s invocation after the servlet is called
Application Lifecycle Events
Application events let “listener" objects be notified when servlet contexts and sessions
are initialized and destroyed, as well as when attributes are added or removed from a
context or session.
Dependencies On Installed Extensions
Web applications, or the JAR files in the WEB-INF/lib directory, can declare their
dependence on particular versions of external libraries that may be provided by the
container as shared extensions.
Internationalization Support
Internationalization support now enables mapping locales to character sets and the
new setCharacterEncoding() method on ServletRequest.
Web Application ClassLoader
A servlet container ensures that classes in a Web application are not allowed to see
the server's implementation classes. In other words, the class loaders are kept
separate.
DTD for Servlet 2.3 Application Deployment Descriptor
A new Document Type Definition (DTD) for the Servlet 2.3 application deployment
descriptor is provided.