Oracle® Globalization Development Kit Java API Reference
10g Release 1(10.1)

B10971-01

oracle.i18n.servlet.filter
Class ServletFilter

java.lang.Object
  |
  +--oracle.i18n.servlet.filter.ServletFilter
All Implemented Interfaces:
Filter

public class ServletFilter
extends Object
implements Filter

ServletFilter class instantiates the wrappers of HTTP request and response objects for GDK, and pass them to the application.

The application requires to register this class in web.xml to incorporate the GDK framework as follows: 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 ContextListener needs to be registed in web.xml to complete the GDK installation.

Basically user applications don't need to explicitly call any method in this class.

Since:
10.1.0.2
See Also:
ContextListener

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Methods inherited from interface javax.servlet.Filter
destroy, doFilter, init

 


Oracle® Globalization Development Kit Java API Reference
10g Release 1(10.1)

B10971-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.