[MVC] best practice: Filter or Controller?

2002-10-22 Thread garrett smith
Hey, I am using a controller servlet. Maybe I should be using a filter, instead. If the action is successful, the location will be the successURL, otherwise, it will be failureURL. In my controller's init, I use config.getInitParam to get successURL and failureURL. In web.xml, I have the init

Re: [MVC] best practice: Filter or Controller?

2002-10-22 Thread Tim Funk
If your not knee deep in code yet - see struts. An MVC framework that does exactly this stuff. And it does it as a controller Servlet (no filters). Struts has its own user and dev mailing lists where you can get more help. garrett smith wrote: Hey, I am using a controller servlet. Maybe I