If I understand correctly, the response will just be sent directly to the
client without going through jsp processing.

-Brian



On Thu, Nov 5, 2009 at 1:36 PM, Siddiq Syed <siddiq...@yahoo.com> wrote:

>
> What will be the view in this case ?
>
> I mean there must be some jsp kinda thing , where the Response can be
> displayed !!
>
> If the framework doesn't goes to the strust.xml file , Can we define some
> view in the action itself ??
>
> I am curious , may be i am out of context for this.but  !! I donno.
>
>
>
> Greg Lindholm-2 wrote:
> >
> > Thanks. I did see the javadoc for NONE (after you suggested using it). It
> > just seemed to me to be a little vague considering that NONE really is a
> > special case as it is the only result that is 'functional' where the
> > others
> > are more like 'convention'.  In any case it certainly wasn't a place I
> > thought to look.
> >
> > I think I will add a note to the "Result Configuration" documentation.
> >
> > On Wed, Nov 4, 2009 at 10:05 AM, Haroon Rafique
> > <haroon.rafi...@utoronto.ca>wrote:
> >
> >> On Today at 9:42am, GL=>Greg Lindholm <greg.lindh...@gmail.com> wrote:
> >>
> >> GL> Thanks that did the trick.
> >> GL>
> >> GL> Where did you learn about the NONE result? Is it documented
> >> somewhere?
> >> GL>
> >>
> >> Hi Greg,
> >>
> >> I first saw it in the 2.0.11 source code when trying to create a new
> >> result type. The javadoc for it was quite helpful:
> >>
> >>    * The action execution was successful but do not show a view. This is
> >>      useful for actions that are handling the view in another fashion
> >>      like redirect.
> >>
> >> There is a reference to it in the "Result Configuration" documentation
> as
> >> well:
> >> http://struts.apache.org/2.1.8/docs/result-configuration.html
> >>
> >> Later,
> >> --
> >> Haroon Rafique
> >> <haroon.rafi...@utoronto.ca>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> >> For additional commands, e-mail: user-h...@struts.apache.org
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/NoResult---write-response-in-the-Action-tp26187583p26219072.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

Reply via email to