In webwork-default.xml, here's the result types:
<result-types>
<result-type name="dispatcher"
class="com.opensymphony.webwork.dispatcher.ServletDispatcherResult"
default="true"/>
<result-type name="redirect"
class="com.opensymphony.webwork.dispatcher.ServletRedirectResult"/>
<result-type name="velocity"
class="com.opensymphony.webwork.dispatcher.VelocityResult"/>
<result-type name="chain"
class="com.opensymphony.xwork.ActionChainResult"/>
</result-types>
Notice the default="true" for dispatcher...
> -----Original Message-----
> From: Francisco Hernandez [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 05, 2003 1:27 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] article on webwork2 at theserverside.com
>
>
> oh cool i knew about leaving the param location out but didnt
> know about type defaulting to dispatcher, another one of
> these little tricks that
> needs to get documented somewhere :)
>
> Jason Carreira wrote:
> > <!-- from the webwork-default.xml -->
> > <default-interceptor-ref name="validationWorkflowStack" />
> >
> > <action name="RegisterAction"
> > class="com.flyingbuttress.wafer.actions.RegisterAction">
> > <result name="input">/register.jsp</result>
> > <result name="success" type="chain">LoginAction</result>
> >
> > </action>
> >
> >>-----Original Message-----
> >>From: Thompson, Christopher (Kris)
> >>[mailto:[EMAIL PROTECTED]
> >>Sent: Wednesday, November 05, 2003 10:05 AM
> >>To: [EMAIL PROTECTED]
> >>Subject: RE: [OS-webwork] article on webwork2 at theserverside.com
> >>
> >>
> >>I didn't know that, but what result type is it? Does it
> >>default to Dispatcher? What would the action look like that
> >>was of type chain like the following
> >>
> >><action name="RegisterAction"
> >>class="com.flyingbuttress.wafer.actions.RegisterAction">
> >> <result name="input" type="dispatcher">
> >> <param name="location">/register.jsp</param>
> >> </result>
> >> <result name="success" type="chain">
> >> <param name="actionName">LoginAction</param>
> >> </result>
> >>
> >> <interceptor-ref name="defaultStack"/>
> >> <interceptor-ref name="validation"/>
> >> <interceptor-ref name="workflow"/>
> >> </action>
> >>
> >>
> >>-----Original Message-----
> >>From: Patrick Lightbody [mailto:[EMAIL PROTECTED]
> >>Sent: Tuesday, November 04, 2003 9:37 PM
> >>To: [EMAIL PROTECTED]
> >>Subject: RE: [OS-webwork] article on webwork2 at theserverside.com
> >>
> >>NICE STUFF! This will go a long way to helping us get 2.0 final out.
> >>
> >>One thing though --
> >>
> >>Kris,
> >>Do you know that the xwork.xml file you're using is more
> >>complex than it needs to be? Generally entries can be as simple as:
> >>
> >><action name="foo" class="com.acme.Foo">
> >> <result name="success">/success.vm</result>
> >> <result name="error">/error.vm</result>
> >></action
> >>
> >>-Pat
> >>
> >>-----Original Message-----
> >>From: [EMAIL PROTECTED]
> >>[mailto:[EMAIL PROTECTED] On
> >>Behalf Of Francisco Hernandez
> >>Sent: Tuesday, November 04, 2003 3:34 PM
> >>To: [EMAIL PROTECTED]
> >>Subject: [OS-webwork] article on webwork2 at theserverside.com
> >>
> >>just in case some of you guys dont visit theserverside.com,
> theres an
> >>article up on there about ww2.. check it out!
> >>
> >
> > http://www.theserverside.com/resources/article.jsp?l=WebWork2
> >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: SF.net Giveback Program. Does
> > SourceForge.net help you be more productive? Does it
> > help you create better code? SHARE THE LOVE, and help us help
> > YOU! Click Here: http://sourceforge.net/donate/
> > _______________________________________________
> > Opensymphony-webwork mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: SF.net Giveback Program. Does
> > SourceForge.net help you be more productive? Does it
> > help you create better code? SHARE THE LOVE, and help us help
> > YOU! Click Here: http://sourceforge.net/donate/
> > _______________________________________________
> > Opensymphony-webwork mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: SF.net Giveback Program. Does
> > SourceForge.net help you be more productive? Does it
> > help you create better code? SHARE THE LOVE, and help us help
> > YOU! Click Here: http://sourceforge.net/donate/
> > _______________________________________________
> > Opensymphony-webwork mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: SF.net Giveback Program. Does
> > SourceForge.net help you be more productive? Does it
> > help you create better code? SHARE THE LOVE, and help us help
> > YOU! Click Here: http://sourceforge.net/donate/
> > _______________________________________________
> > Opensymphony-webwork mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> >
> >
> >
>
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive? Does it
> help you create better code? SHARE THE LOVE, and help us help
> YOU! Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
>
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork