So you want to stay in the same page after the action. Best way is to do a 
an ajax call. If you don't want to get into ajax just for this, a quick 
and dirty fix would be to change your target to a hidden frame ; <a 
href="<your action>" target="yourhiddenframeid">Click</a> 



From:
Upasana Sharma <sharma...@gmail.com>
To:
Struts Users Mailing List <user@struts.apache.org>
Date:
22-04-2010 15:17
Subject:
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


=====-----=====-----=====
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


Reply via email to