File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
What is the motivation to use filters in a struts application
Joined: Jun 28, 2007
May 27, 2008 05:47:00
I am new to
& from my limited understanding i guess that all my requests would pass through the action
(Controller) in the case all my authentication code can be placed here .
Assuming my motivation to create a filter is to implement security , cannot my action servlet just do that job ?
Thanks in advance
Joined: May 26, 2003
May 27, 2008 19:25:00
An action servlet can do it. So can a filter or a request dispatcher. note that a filter can be reused if you have more than one servlet or application.
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
subject: What is the motivation to use filters in a struts application
null pointer using struts/velocity
PDF file read
problem in integrating hibernate with struts
servlet context in struts Action class
Can i have multiple struts-config files in struts1.1
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014