Servlet and JSP Examples.
Servlet and JSP 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
/servlet/*
listeners.ContextListener
listeners.SessionListener
servletToJsp
servletToJsp
ChatServlet
chat.ChatServlet
CompressionFilterTestServlet
compressionFilters.CompressionFilterTestServlet
HelloWorldExample
HelloWorldExample
RequestInfoExample
RequestInfoExample
RequestHeaderExample
RequestHeaderExample
RequestParamExample
RequestParamExample
CookieExample
CookieExample
SessionExample
SessionExample
ChatServlet
/jsp/chat/chat
CompressionFilterTestServlet
/CompressionTest
HelloWorldExample
/servlets/servlet/HelloWorldExample
RequestInfoExample
/servlets/servlet/RequestInfoExample/*
RequestHeaderExample
/servlets/servlet/RequestHeaderExample
RequestParamExample
/servlets/servlet/RequestParamExample
CookieExample
/servlets/servlet/CookieExample
SessionExample
/servlets/servlet/SessionExample
servletToJsp
/servletToJsp
http://jakarta.apache.org/tomcat/debug-taglib
/WEB-INF/jsp/debug-taglib.tld
http://jakarta.apache.org/tomcat/examples-taglib
/WEB-INF/jsp/example-taglib.tld
http://jakarta.apache.org/tomcat/jsp2-example-taglib
/WEB-INF/jsp2/jsp2-example-taglib.tld
Special property group for JSP Configuration JSP example.
JSPConfiguration
/jsp2/misc/config.jsp
true
ISO-8859-1
true
/jsp2/misc/prelude.jspf
/jsp2/misc/coda.jspf
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
java.lang.Integer
1
foo/name1
java.lang.String
value1
foo/bar/name2
java.lang.Boolean
true
name3
java.lang.Integer
1
foo/name4
java.lang.Integer
10