I have created a Filter
to check the Cookie
s with request object and forward
the request accordingly thanks to this and this question..Now I want to map this Filter
for just the welcome-file
as I have declared it in web.xml
.
Say I have welcome-file
as index.html
then I have to map the Filter
for both www.example.com/
and www.example.com/index.html
but not for anything else such as www.example.com/foo/*
or www.example.com/*
is not allowed, I mean NOT anything except welcome-file
request.
I am using Apache Tomcat 7.0.22 container.
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
Just add these to your web.xml