This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes using filters with struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "using filters with struts" Watch "using filters with struts" New topic
Author

using filters with struts

senthil kumar m
Greenhorn

Joined: Nov 28, 2010
Posts: 16
it is a struts project..

the filter configuration is as follows,



and the servlet mapping is as follows,


Here this filter will be executed for all action classes..right?? [have a slight doubt on that too ]

I planned to use it for checking the session informations..

is it a good practice?

can you post the situations whereever i can apply this effectively ?
 
wood burning stoves
 
subject: using filters with struts