You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Upasana Sharma <sh...@gmail.com> on 2010/04/22 11:09:46 UTC
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
Re: Action result to go nowhere
Posted by Rahul Mohan <ra...@tcs.com>.
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 <sh...@gmail.com>
To:
Struts Users Mailing List <us...@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 <ra...@tcs.com> wrote:
> Try 'return INPUT'.
> - rahul
>
>
>
> From:
> Upasana Sharma <sh...@gmail.com>
> To:
> Struts Users Mailing List <us...@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.miles@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:sharmacal@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-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@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
RE: Action result to go nowhere
Posted by "Miles, Chris" <ch...@spsa.pnn.police.uk>.
It seems to me that he is trying to do something which Struts was not
designed for which kind of takes away the point of it.
If you tell us what you are wanting to do and why there might be
something else out there rather than hacking a solution.
Chris
-----Original Message-----
From: Gustavo Felisberto [mailto:gustavo.felisberto@wit-software.com]
Sent: 22 April 2010 10:53
To: 'Struts Users Mailing List'
Subject: RE: Action result to go nowhere
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:sharmacal@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 <ra...@tcs.com>
wrote:
> Try 'return INPUT'.
> - rahul
>
>
>
> From:
> Upasana Sharma <sh...@gmail.com>
> To:
> Struts Users Mailing List <us...@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.miles@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:sharmacal@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-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@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-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: Action result to go nowhere
Posted by Gustavo Felisberto <gu...@wit-software.com>.
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:sharmacal@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 <ra...@tcs.com> wrote:
> Try 'return INPUT'.
> - rahul
>
>
>
> From:
> Upasana Sharma <sh...@gmail.com>
> To:
> Struts Users Mailing List <us...@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.miles@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:sharmacal@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-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@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-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Action result to go nowhere
Posted by Upasana Sharma <sh...@gmail.com>.
*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 <ra...@tcs.com> wrote:
> Try 'return INPUT'.
> - rahul
>
>
>
> From:
> Upasana Sharma <sh...@gmail.com>
> To:
> Struts Users Mailing List <us...@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.miles@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:sharmacal@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-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@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
Re: Action result to go nowhere
Posted by Rahul Mohan <ra...@tcs.com>.
Try 'return INPUT'.
- rahul
From:
Upasana Sharma <sh...@gmail.com>
To:
Struts Users Mailing List <us...@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.miles@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:sharmacal@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-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@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
RE: Action result to go nowhere
Posted by "Miles, Chris" <ch...@spsa.pnn.police.uk>.
It makes more sense to open the popup and have the URL of the popup as
your action, do any business logic / processing, and then forward to a
JSP to render the display. This is the purpose of a
model-controller-view design.
Chris
-----Original Message-----
From: Upasana Sharma [mailto:sharmacal@gmail.com]
Sent: 22 April 2010 11:11
To: Struts Users Mailing List
Subject: Re: Action result to go nowhere
Hi
I have a link which when clicked invokes some action and opens up a pop
up.
The result to be displayed in the pop up needs to be returned as object
in the action method called onclick. that is why i do not my calling
page to navigate to some other jsp.
If u cud help me out how to handle such scenario that will be great help
--
Thanks and Regards
Upasana Sharma
On Thu, Apr 22, 2010 at 3:35 PM, Miles, Chris <
chris.miles@spsa.pnn.police.uk> wrote:
>
>
>
>
>
> Explain what exactly you are trying to achieve and why and it would
help
> someone give you a solution.
>
> Chris
>
> -----Original Message-----
> From: Upasana Sharma [mailto:sharmacal@gmail.com]
> Sent: 22 April 2010 10:52
> To: Struts Users Mailing List
> Subject: Re: Action result to go nowhere
>
> In that case how can I invoke the action without changing the url.
> please help me out.
> --
> Thanks and Regards
> Upasana Sharma
> On Thu, Apr 22, 2010 at 3:18 PM, Miles, Chris <
> chris.miles@spsa.pnn.police.uk> wrote:
>
> >
> >
> >
> >
> > That is what I would expect to happen. You are clicking a link which
> > changes the URL to the URL of the Action. This is the normal process
> > of the web itself.
> >
> > Chris
> >
> >
> > -----Original Message-----
> > From: Upasana Sharma [mailto:sharmacal@gmail.com]
> > Sent: 22 April 2010 10:37
> > To: Struts Users Mailing List
> > 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.miles@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:sharmacal@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-unsubscribe@struts.apache.org
> > > For additional commands, e-mail: user-help@struts.apache.org
> > >
> > >
> >
> >
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Action result to go nowhere
Posted by Upasana Sharma <sh...@gmail.com>.
thanks a lot for your responses. I used ajax calls to make the HTTPRequest
and the issue is solved.
On Thu, Apr 22, 2010 at 5:43 PM, Martin Gainty <mg...@hotmail.com> wrote:
> if you want speculative guesses from the people who have responded then
> continue on without providing any substantive detail..
> BTW they are getting paid to waste your time...you and i are NOT getting
> paid to waste your time or other peoples time
>
> if you want a REAL answer post to the list the xml declarators
> (web.xml,struts.xml and applicationContext.xml) the action declarations are
> generally located in struts.xml
>
> viel gluck,
> Martin Gainty
> ______________________________________________
> Verzicht und Vertraulichkeitanmerkung
>
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
> dient lediglich dem Austausch von Informationen und entfaltet keine
> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
>
>
>
> > Date: Thu, 22 Apr 2010 15:41:02 +0530
>
> > Subject: Re: Action result to go nowhere
> > From: sharmacal@gmail.com
> > To: user@struts.apache.org
>
> >
> > Hi
> >
> > I have a link which when clicked invokes some action and opens up a pop
> up.
> > The result to be displayed in the pop up needs to be returned as object
> in
> > the action method called onclick. that is why i do not my calling page to
> > navigate to some other jsp.
> >
> > If u cud help me out how to handle such scenario that will be great help
> >
> > --
> > Thanks and Regards
> > Upasana Sharma
> >
> >
> >
> > On Thu, Apr 22, 2010 at 3:35 PM, Miles, Chris <
> > chris.miles@spsa.pnn.police.uk> wrote:
> >
> > >
> > >
> > >
> > >
> > >
> > > Explain what exactly you are trying to achieve and why and it would
> help
> > > someone give you a solution.
> > >
> > > Chris
> > >
> > > -----Original Message-----
> > > From: Upasana Sharma [mailto:sharmacal@gmail.com]
> > > Sent: 22 April 2010 10:52
> > > To: Struts Users Mailing List
> > > Subject: Re: Action result to go nowhere
> > >
> > > In that case how can I invoke the action without changing the url.
> > > please help me out.
> > > --
> > > Thanks and Regards
> > > Upasana Sharma
> > > On Thu, Apr 22, 2010 at 3:18 PM, Miles, Chris <
> > > chris.miles@spsa.pnn.police.uk> wrote:
> > >
> > > >
> > > >
> > > >
> > > >
> > > > That is what I would expect to happen. You are clicking a link which
> > > > changes the URL to the URL of the Action. This is the normal process
> > > > of the web itself.
> > > >
> > > > Chris
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Upasana Sharma [mailto:sharmacal@gmail.com]
> > > > Sent: 22 April 2010 10:37
> > > > To: Struts Users Mailing List
> > > > 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.miles@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:sharmacal@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-unsubscribe@struts.apache.org
> > > > > For additional commands, e-mail: user-help@struts.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > > For additional commands, e-mail: user-help@struts.apache.org
> > > >
> > > >
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > For additional commands, e-mail: user-help@struts.apache.org
> > >
> > >
>
> ------------------------------
> Hotmail is redefining busy with tools for the New Busy. Get more from your
> inbox. See how.<http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2>
>
--
Thanks and Regards
Upasana Sharma
Re: Action result to go nowhere
Posted by Upasana Sharma <sh...@gmail.com>.
Hi
I have a link which when clicked invokes some action and opens up a pop up.
The result to be displayed in the pop up needs to be returned as object in
the action method called onclick. that is why i do not my calling page to
navigate to some other jsp.
If u cud help me out how to handle such scenario that will be great help
--
Thanks and Regards
Upasana Sharma
On Thu, Apr 22, 2010 at 3:35 PM, Miles, Chris <
chris.miles@spsa.pnn.police.uk> wrote:
>
>
>
>
>
> Explain what exactly you are trying to achieve and why and it would help
> someone give you a solution.
>
> Chris
>
> -----Original Message-----
> From: Upasana Sharma [mailto:sharmacal@gmail.com]
> Sent: 22 April 2010 10:52
> To: Struts Users Mailing List
> Subject: Re: Action result to go nowhere
>
> In that case how can I invoke the action without changing the url.
> please help me out.
> --
> Thanks and Regards
> Upasana Sharma
> On Thu, Apr 22, 2010 at 3:18 PM, Miles, Chris <
> chris.miles@spsa.pnn.police.uk> wrote:
>
> >
> >
> >
> >
> > That is what I would expect to happen. You are clicking a link which
> > changes the URL to the URL of the Action. This is the normal process
> > of the web itself.
> >
> > Chris
> >
> >
> > -----Original Message-----
> > From: Upasana Sharma [mailto:sharmacal@gmail.com]
> > Sent: 22 April 2010 10:37
> > To: Struts Users Mailing List
> > 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.miles@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:sharmacal@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-unsubscribe@struts.apache.org
> > > For additional commands, e-mail: user-help@struts.apache.org
> > >
> > >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
RE: Action result to go nowhere
Posted by "Miles, Chris" <ch...@spsa.pnn.police.uk>.
Explain what exactly you are trying to achieve and why and it would help
someone give you a solution.
Chris
-----Original Message-----
From: Upasana Sharma [mailto:sharmacal@gmail.com]
Sent: 22 April 2010 10:52
To: Struts Users Mailing List
Subject: Re: Action result to go nowhere
In that case how can I invoke the action without changing the url.
please help me out.
--
Thanks and Regards
Upasana Sharma
On Thu, Apr 22, 2010 at 3:18 PM, Miles, Chris <
chris.miles@spsa.pnn.police.uk> wrote:
>
>
>
>
> That is what I would expect to happen. You are clicking a link which
> changes the URL to the URL of the Action. This is the normal process
> of the web itself.
>
> Chris
>
>
> -----Original Message-----
> From: Upasana Sharma [mailto:sharmacal@gmail.com]
> Sent: 22 April 2010 10:37
> To: Struts Users Mailing List
> 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.miles@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:sharmacal@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-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Action result to go nowhere
Posted by Upasana Sharma <sh...@gmail.com>.
In that case how can I invoke the action without changing the url. please
help me out.
--
Thanks and Regards
Upasana Sharma
On Thu, Apr 22, 2010 at 3:18 PM, Miles, Chris <
chris.miles@spsa.pnn.police.uk> wrote:
>
>
>
>
> That is what I would expect to happen. You are clicking a link which
> changes the URL to the URL of the Action. This is the normal process of
> the web itself.
>
> Chris
>
>
> -----Original Message-----
> From: Upasana Sharma [mailto:sharmacal@gmail.com]
> Sent: 22 April 2010 10:37
> To: Struts Users Mailing List
> 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.miles@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:sharmacal@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-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
RE: Action result to go nowhere
Posted by "Miles, Chris" <ch...@spsa.pnn.police.uk>.
That is what I would expect to happen. You are clicking a link which
changes the URL to the URL of the Action. This is the normal process of
the web itself.
Chris
-----Original Message-----
From: Upasana Sharma [mailto:sharmacal@gmail.com]
Sent: 22 April 2010 10:37
To: Struts Users Mailing List
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.miles@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:sharmacal@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-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Action result to go nowhere
Posted by Upasana Sharma <sh...@gmail.com>.
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.miles@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:sharmacal@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-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
RE: Action result to go nowhere
Posted by "Miles, Chris" <ch...@spsa.pnn.police.uk>.
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:sharmacal@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-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org