It may be worth while setting up the servlet dispatcher to detect if the
filter dispatcher is being used.  Then at lease a warning can be logged.

Cam

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Patrick Lightbody
> Sent: Thursday, 20 March 2003 5:50 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] NPE in FilterDispatcher
> 
> 
> Basically, FilterDispatcher should _only_ be used if you're 
> not using ServletDispatcher. When used together, things can 
> get very strange, very quickly.
> 
> What FilterDispatcher does is detect what JSP you are using, 
> then find the first action that results in that JSP, and then 
> executes that action. When you put ServletDispatcher in the 
> mix, it gets really confusing: action -> JSP -> action?
> 
> Just leave it out of the exampe app. Rickard is the one who 
> wanted this feature so we'll leave it up to him to test and 
> ensure it works correctly :)
> 
> -Pat
> 
> ----- Original Message -----
> From: "Jason Carreira" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, March 19, 2003 5:28 AM
> Subject: RE: [OS-webwork] NPE in FilterDispatcher
> 
> 
> > > -----Original Message-----
> > > From: Matt Ho [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, March 19, 2003 6:18 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: [OS-webwork] NPE in FilterDispatcher
> > >
> > >
> > > I've commented out the FilterDispatcher in the webwork-example 
> > > web.xml and it now seems to work fine.
> >
> > Patrick, any thought on what the problem is with the 
> FilterDispatcher?
> >
> >
> > > In addition, I've also added a
> > > Velocity Result
> > > implementation, VelocityResult.  See the webwork-example for an 
> > > example of usage.
> > >
> > > M
> > >
> >
> > Awesome! Any estimates of performance increases, etc?
> >
> > Jason
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Does your code think in ink? You 
> > could win a Tablet PC. Get a free Tablet PC hat just for 
> playing. What 
> > are you waiting for? 
> > http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
> > _______________________________________________
> > Opensymphony-webwork mailing list 
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Does your code think in ink? 
> You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
> What are you waiting for? 
> http://ads.sourceforge.net/cgi-> bin/redirect.pl?micr5043en
> 
> 
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to