SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 259 | Next

Larry Brown, Marty Hall, and Yaakov Chaikin

"Core Servlets and JavaServer Pages, Volume 2"

jpg on Fri Apr 14 15:22:15 EDT 2006. (Reported
by Logger.)
Apr 14, 2006 3:22:15 PM org.apache.catalina.core.ApplicationContext
log
5.5 Using Filter Initialization Parameters 221
5.5 Using Filter Initialization
Parameters
With servlets and JSP pages, you can customize the initialization behavior by supplying
initialization parameters. For details, see Section 2.6 (Initializing and Preloading
Servlets and JSP Pages). The reason this capability is useful is that there are three
distinct groups that might want to customize the behavior of servlets or JSP pages:
1. Developers. They customize the behavior by changing the code of
the servlet or JSP page itself.
2. End users. They customize the behavior by entering values in HTML
forms.
3. Deployers. This third group is the one served by initialization parameters.
Members of this group are people who take existing Web applications
(or individual servlets or JSP pages) and deploy them in a
customized environment. They are not necessarily developers, so it is
not realistic to expect them to modify the servlet and JSP code.
Besides, you often omit the source code when distributing servlets.
So, developers need a standard way to allow deployers to change servlet
and JSP behavior.
INFO: 127.0.0.1 tried to access http://localhost/filtersrus/
images/coffee-filter.gif on Fri Apr 14 15:22:15 EDT 2006.
(Reported by Logger.)
Apr 14, 2006 3:22:25 PM org.


Pages:
247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271