Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
author & internet detective
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.
OCA 8 book
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
PDF file read
problem in integrating hibernate with struts
null pointer using struts/velocity
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-2015