public class ServletFilter extends Object implements Filter
ServletFilter
class instantiates the wrappers of HTTP
request and response objects for the GDK, and passes them to the application.
The application requires registering this class in web.xml
to
incorporate the GDK framework as follows:
... <filter> <filter-name>gdkfilter</filter-name> <filter-class>oracle.i18n.servlet.filter.ServletFilter</filter-class> </filter> ... <filter-mapping> <filter-name>gdkfilter</filter-name> <url-pattern>*.jsp</url-pattern> </filter-mapping> ...
Also, the ContextListener
class needs
to be registered in web.xml
to complete the GDK installation.
Basically, user applications do not need to explicitly call any method in this class.
ContextListener