My understanding is that the FilterDispatcher should rarely end up being used. It's intended for those cases where you want to automagically map an Action to a jsp. For example, requesting

http://www.somesite.com/myaction.jsp

would call a corresponding Action named "myaction" in the default namespace. In any event, I put a fix in to CVS so you can update your version. However, if you're not planning on using the above, I would remove the FilterDispatcher reference in web.xml completely.

M

On Sun, 23 Mar 2003 14:07:02 -0500, Tracy Snell <[EMAIL PROTECTED]> wrote:


Running ww2 from a copied snagged from cvs last night.


NPE happens on deploy of the example app. Here's what's happens,
FilterDispatcher. getActionResultConfig(String result, ActionResult
actionConfig) is called with actionConfig.getResults containing
{success=class com.opensymphony.webwork.dispatcher.Velocit...} and result =
"input". This results in a null assignment when input is looked up in the
map. Added a null check to the code with no apparent ill effects
if (class != null && clazz.equals(ServletDispatcherResult.class)) {
view = (String) ((Map)
resultParams.get(result)).get("location");
}
However, I'm very new to webwork and don't know if this is a proper fix yet.
Digging more.






-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork








-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to