Servlet 2.4 Examples
Servlet 2.4 Examples.
Servlet Mapped Filter
filters.ExampleFilter
attribute
filters.ExampleFilter.SERVLET_MAPPED
Path Mapped Filter
filters.ExampleFilter
attribute
filters.ExampleFilter.PATH_MAPPED
Request Dumper Filter
filters.RequestDumperFilter
Set Character Encoding
filters.SetCharacterEncodingFilter
encoding
EUC_JP
Compression Filter
compressionFilters.CompressionFilter
compressionThreshold
10
debug
0
Servlet Mapped Filter
invoker
Path Mapped Filter
/ledb-admin/*
listeners.ContextListener
listeners.SessionListener
CompressionFilterTestServlet
compressionFilters.CompressionFilterTestServlet
HelloWorldExample
HelloWorldExample
RequestInfoExample
RequestInfoExample
RequestHeaderExample
RequestHeaderExample
RequestParamExample
RequestParamExample
CookieExample
CookieExample
SessionExample
SessionExample
CompressionFilterTestServlet
/CompressionTest
HelloWorldExample
/servlet/HelloWorldExample
RequestInfoExample
/servlet/RequestInfoExample/*
RequestHeaderExample
/servlet/RequestHeaderExample
RequestParamExample
/servlet/RequestParamExample
CookieExample
/servlet/CookieExample
SessionExample
/servlet/SessionExample
Example Security Constraint
Protected Area
/jsp/security/protected/*
DELETE
GET
POST
PUT
tomcat
role1
FORM
Example Form-Based Authentication Area
/jsp/security/protected/login.jsp
/jsp/security/protected/error.jsp
role1
tomcat
minExemptions
1
java.lang.Integer
foo/name1
value1
java.lang.String
foo/bar/name2
true
java.lang.Boolean
name3
1
java.lang.Integer
foo/name4
10
java.lang.Integer