Skip navigation links

Oracle® Database Globalization Development Kit Java API Reference
11g Release 1 (11.1)

Book Part Number B28299-01


oracle.i18n.servlet.filter
Class ServletFilter

java.lang.Object
  extended by oracle.i18n.servlet.filter.ServletFilter

All Implemented Interfaces:
Filter

public class ServletFilter
extends Object
implements Filter

The 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.

Since:
10.1.0.2
See Also:
ContextListener

Method Summary

 

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

 


Skip navigation links

Oracle® Database Globalization Development Kit Java API Reference
11g Release 1 (11.1)

Book Part Number B28299-01


Copyright © 2003, 2007, Oracle. All rights reserved.