You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Matt Smith <ms...@dorado.com> on 2001/11/08 16:48:48 UTC
Seperate servlets for db & validator
Can someone tell me the reasons behind seperating things like the Validator
& the database into their own servlets? Is it just a matter of taste, or
orginazational, or is there some technical benefit of doing so? (Is it just
a way to add a large chuck of init() code to load resources & such without
modifing the controller?)
Thanks,
-Matt
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Seperate servlets for db & validator
Posted by David Winterfeldt <dw...@yahoo.com>.
I kept the Validator separate originally just so it
wouldn't interfere with any other classes subclassing
the ActionServlet (or design changes in the
ActionServlet). There is a service manager interface
to load resource in the contrib folder that I want to
switch the validator to so it won't have it's on
servlet, but I haven't had time.
David
--- Matt Smith <ms...@dorado.com> wrote:
> Can someone tell me the reasons behind seperating
> things like the Validator
> & the database into their own servlets? Is it just a
> matter of taste, or
> orginazational, or is there some technical benefit
> of doing so? (Is it just
> a way to add a large chuck of init() code to load
> resources & such without
> modifing the controller?)
>
> Thanks,
> -Matt
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>