Hello.

If you just follow a link <a href="SomeAction>test</a> the browser will
render the resulting page. You can in your action just return null; and
nothing is sent to the browser.

But that will give you a blank page.

You probably will want to do a javascript XMLHttpRequest that will "return
null" in the action. That way nothing will happen on the browser side.

Hope it helps.

-----Mensagem original-----
De: Upasana Sharma [mailto:sharma...@gmail.com] 
Enviada: quinta-feira, 22 de Abril de 2010 10:47
Para: Struts Users Mailing List
Assunto: Re: Action result to go nowhere

*I do not want to go to some result page
*
*On return INPUT**
*
*No result defined for action com.upasana.action.ComAction and result input*
:)


On Thu, Apr 22, 2010 at 3:13 PM, Rahul Mohan <rahul.mo...@tcs.com> wrote:

> Try 'return INPUT'.
> - rahul
>
>
>
> From:
> Upasana Sharma <sharma...@gmail.com>
> To:
> Struts Users Mailing List <user@struts.apache.org>
> Date:
> 22-04-2010 15:08
> Subject:
> Re: Action result to go nowhere
>
>
>
> hi thanks for your response.I tried that
> But my browser goes to some blank page with that respective action name as
> the url.
> It does not stick to the calling page
>
> --
> Thanks and Regards
> Upasana Sharma
>
>
> On Thu, Apr 22, 2010 at 2:53 PM, Miles, Chris <
> chris.mi...@spsa.pnn.police.uk> wrote:
>
> > NOT PROTECTIVELY MARKED
> >
> >
> >
> > Hi
> >
> > Do not put any result in the XML and in the Action just return
> > Action.NONE
> >
> > Chris
> >
> > -----Original Message-----
> > From: Upasana Sharma [mailto:sharma...@gmail.com]
> > Sent: 22 April 2010 10:10
> > To: Struts Users Mailing List
> > Subject: Action result to go nowhere
> >
> > Hi
> >
> > I have a link which when clicked invokes some action. I do not want the
> > page to redirect or forward to some other jsp or action.
> > what should i write in struts.xml <result> of that action?
> >
> > --
> > Thanks and Regards
> > Upasana Sharma
> >
> > NOT PROTECTIVELY MARKED
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> > For additional commands, e-mail: user-h...@struts.apache.org
> >
> >
>
>
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
>


-- 
Thanks and Regards
Upasana Sharma


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to