Hi,
I am new to Struts2 but after struggling a couple of weeks with the doc (hard
to find up-to-date doc for 2.1.6) and a couple out-of-date books, I am really
starting to appreciate the simplicity and flexibility !
I am using Struts 2.1.6.
I have built a SecurityInterceptor, which checks auth
Hi!
To show the record that has been edited I am making another trip to the
> DB as I don't have a cache. To return back to the results the user
> clicks on his button and is forwarded to the edit Action class. It is
> from this action class that I want to call the search Action class
> passing in
the actionForm I can pass my form which I hold in the session.
>
>
>
> -Original Message-
> From: Martin Gainty [mailto:[EMAIL PROTECTED]
> Sent: 05 October 2005 15:17
> To: Shoukat,F,Faisal,JPGA8Y C
> Cc: user@struts.apache.org
> Subject: Re: chaining actions
.
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: 05 October 2005 15:17
To: Shoukat,F,Faisal,JPGA8Y C
Cc: user@struts.apache.org
Subject: Re: chaining actions i think!!
I am unsure if you want to chain actions as this would not conform to
Action1->ActionForward1 where
ion();
session.setAttribute("username", username);
test for presence of session.getAttribute("username") and result if not null
prepopulate your form with the value
Anyone else ?
Martin-
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Wednesday, October 05, 2005 6:47
intainablitity and the way my application is written I have multiple
> action classes.
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 05 October 2005 11:57
> To: Struts Users Mailing List
> Cc: user@struts.apache.org
> Subject: Re: c
ECTED]
Sent: 05 October 2005 11:57
To: Struts Users Mailing List
Cc: user@struts.apache.org
Subject: Re: chaining actions i think!!
Faisal,
Why are you making different action classes for Search and Edit
functionality. You can have these method in one Action class itself and
then you can call the
t how to do it,
let me know.
Sunil
<[EMAIL PROTECTED]>
05/10/2005 16:17
Please respond to
"Struts Users Mailing List"
To
cc
Subject
chaining actions i think!!
Hi,
Is there a way that I can call another action from within a action
class. Is it as simple as just cal
Hi,
Is there a way that I can call another action from within a action
class. Is it as simple as just calling the execute method of the other
action or another method of the action class as is required.?
My scenario is as follows: A user searches on a client and is returned a
number of results
At 7:24 PM +0530 10/15/04, sachin wrote:
Thanks Joe
I have quit the idea of chaining actions.
It is true that Struts was never designed to for action forwarding.
My main concern was to have some common functionality independantly
which i can do better by creating own replica of Action , ActionForm
Thanks Joe
I have quit the idea of chaining actions.
It is true that Struts was never designed to for action forwarding.
My main concern was to have some common functionality independantly
which i can do better by creating own replica of Action , ActionForm and
ActionServlet etc . . and chaining
gt; Have the first action's success forward on to the next action in
struts config.
but will the same bean be populated ?
Regards ,
sachin
-- Original Message ---
From: "McCormack, Chris" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL
IL PROTECTED]>
Sent: Fri, 15 Oct 2004 15:51:32 +0530
Subject: RE: help : chaining actions in Struts
> in first action class, put the bean in request before forwarding.
>
> -Original Message-
> From: sachin [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 15, 2004 3:4
in first action class, put the bean in request before forwarding.
-Original Message-
From: sachin [mailto:[EMAIL PROTECTED]
Sent: Friday, October 15, 2004 3:41 PM
To: Struts Users Mailing List
Subject: RE: help : chaining actions in Struts
> Have the first action's success fo
Set the bean on the request in the first action and retrieve it in the second action.
Chris McCormack
-Original Message-
From: sachin [mailto:[EMAIL PROTECTED]
Sent: 15 October 2004 11:11
To: Struts Users Mailing List
Subject: RE: help : chaining actions in Struts
> Have the fi
ot; <[EMAIL PROTECTED]>
Sent: Fri, 15 Oct 2004 10:42:04 +0100
Subject: RE: help : chaining actions in Struts
> Have the first action's success forward on to the next action in
> struts config.
>
> Chris McCormack
>
> -Original Message-
> From: sachin [mail
Have the first action's success forward on to the next action in struts config.
Chris McCormack
-Original Message-
From: sachin [mailto:[EMAIL PROTECTED]
Sent: 15 October 2004 10:46
To: Struts Users Mailing List
Subject: help : chaining actions in Struts
hi all ,
i have a common
hi all ,
i have a common bean , which i need to use for two Actions classes which will
execute one after another and populate the bean.
Now how can i configure the struts so that both the action will run one after
another ?
Any help is welcome . .
Regards,
Sachin Hegde
I'm having a problem calling one action from another. Both are
dispatch actions.
Action 1 is called, does it's business, sets a request.setAttribute(),
and forwards to Action 2
Action 2 is run, but none of the request variables are there. I get
nulls with I "request.getAttribute".
Lee
---
19 matches
Mail list logo