Re: Doing an action and get back to executing page?

2003-10-31 Thread Frers Michael
hello
thx for reply

as far as i understood you mean i should create for each jsp an extra action
mapping entry in the struts config
and then doing a
mapping.getInputForward()

in the action class

only problem is that i have about 100+ jsp sites which can call this specifc
Action



Michael


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, October 30, 2003 5:47 PM
Subject: RE: Doing an action and get back to executing page?



 instead define the two action mapping to the same action class with input
from both the jsp's and returning the both of them and then well u have the
two different flows.
 -Original Message-
 From: Frers Michael [mailto:[EMAIL PROTECTED]
 Sent: 30 October 2003 16:41
 To: Struts Users Mailing List
 Subject: Doing an action and get back to executing page?


 Hello

 is there anyway to get back to the side which called an action?

 here more specific example

 i have 2 jsp sides: a.jsp and b.jsp

 from both i can call a strutsaction  dosomething.do

 after executing i want to get back to a or to b (depending who called the
side)

 i think best solution would be adding a hidden field telling the action
who was the caller
 (with probably much handling of beans from request etc)

 any other (better) ideas?

 thx in advance

 Michael

 Visit our website at http://www.ubs.com

 This message contains confidential information and is intended only
 for the individual named.  If you are not the named addressee you
 should not disseminate, distribute or copy this e-mail.  Please
 notify the sender immediately by e-mail if you have received this
 e-mail by mistake and delete this e-mail from your system.

 E-mail transmission cannot be guaranteed to be secure or error-free
 as information could be intercepted, corrupted, lost, destroyed,
 arrive late or incomplete, or contain viruses.  The sender therefore
 does not accept liability for any errors or omissions in the contents
 of this message which arise as a result of e-mail transmission.  If
 verification is required please request a hard-copy version.  This
 message is provided for informational purposes and should not be
 construed as a solicitation or offer to buy or sell any securities or
 related financial instruments.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Doing an action and get back to executing page?

2003-10-30 Thread Frers Michael
Hello

is there anyway to get back to the side which called an action?

here more specific example

i have 2 jsp sides: a.jsp and b.jsp

from both i can call a strutsaction  dosomething.do

after executing i want to get back to a or to b (depending who called the side)

i think best solution would be adding a hidden field telling the action who was the 
caller
(with probably much handling of beans from request etc)

any other (better) ideas?

thx in advance

Michael

RE: Doing an action and get back to executing page?

2003-10-30 Thread shishir.katdare

instead define the two action mapping to the same action class with input from both 
the jsp's and returning the both of them and then well u have the two different flows.
-Original Message-
From: Frers Michael [mailto:[EMAIL PROTECTED]
Sent: 30 October 2003 16:41
To: Struts Users Mailing List
Subject: Doing an action and get back to executing page?


Hello

is there anyway to get back to the side which called an action?

here more specific example

i have 2 jsp sides: a.jsp and b.jsp

from both i can call a strutsaction  dosomething.do

after executing i want to get back to a or to b (depending who called the side)

i think best solution would be adding a hidden field telling the action who was the 
caller
(with probably much handling of beans from request etc)

any other (better) ideas?

thx in advance

Michael

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]