File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes List entries in Filter Section (web.xml) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "List entries in Filter Section (web.xml)" Watch "List entries in Filter Section (web.xml)" New topic

List entries in Filter Section (web.xml)

John Vergis
Ranch Hand

Joined: Feb 24, 2004
Posts: 59
Is it possible to have a range of values for a init param under filter section of the web.xml. something of the sort of the welcome-file-list where we can specify a list of values for the welcome file page. Similarly i want to have a list of values for the init-param under the filer

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 61451

A comma-separated list is going to be passed as the single value of the parameter, but that's pretty easy to parse out in the filter.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Don't get me started about those stupid light bulbs.
subject: List entries in Filter Section (web.xml)