Hello
here is my situation
i have a page in which a foreachtag prints values from a bean into the page
<% out.flush(); %>
now i want that after all values are printed an action is called to do
something else
at the end of page doesnt do
anything
anyone knows?
-
2004 11:01 PM
> To: Struts Users Mailing List
> Subject: RE: Action not forwarding to another Action
>
>
> It is my opinion. Please correct me if I am wrong.
>
> The JSP "DeleteOrder.jsp" submits to
> "/app/DeleteOrder.exe",
> Therefore the paramete
Thanks Vincent and Hubert, I will try both your suggestions
-Original Message-
From: Vincent Lin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 11:01 PM
To: Struts Users Mailing List
Subject: RE: Action not forwarding to another Action
It is my opinion. Please correct me
It is my opinion. Please correct me if I am wrong.
The JSP "DeleteOrder.jsp" submits to
"/app/DeleteOrder.exe",
Therefore the parameter "orderNumber" can be seen in
"/app/DeleteOrder.exe".
After the part is deleted the action
"/app/DeleteOrder.exe" forwards the page
to "/app/ListOfOrder.exe". It
May I humbly suggest doing a redirect after you do your delete?
inside OrderMaintainAction, after the deletion:
// get the path we specified for "Content" in struts-config.xml
String path = mapping.findForward("Content").getPath();
// create the redirecting ActionForward we'll return
ActionForwa
e for me.
-jayash
-Original Message-
From: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 8:21 PM
To: 'Struts Users Mailing List'
Subject: RE: Action not forwarding to another Action
Nop. I removed 'redirect="true"
t;), replace by so by you are not
submitting the form.
htp.
-Ramadoss
-Original Message-
From: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 11:14 PM
To: 'Struts Users Mailing List'
Subject: RE: Action not forwarding to another Action
Thanks Ramado
ring id = Request.getParameter("id"); " to
> retrieve the id? I tried it
> and I can't find "id" from the Request object.
>
>
> -Original Message-
> From: Ramadoss Chinnakuzhandai
> [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 01,
uts Users Mailing List'
Subject: RE: Action not forwarding to another Action
Nop. I removed 'redirect="true"' as followed and still can't retrieve the
parameter in OrderSearchAction. I even tried to specifically do
request.setParamter(
Original Message-
From: Gopalakrishnan, Jayesh [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 6:45 PM
To: Struts Users Mailing List
Subject: RE: Action not forwarding to another Action
I think when you say 'redirect="true"', then you lose
your request object. Th
quot;id"); " to retrieve the id? I tried it
and I can't find "id" from the Request object.
-Original Message-
From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 6:24 PM
To: Struts Users Mailing List
Subject: RE: Action not forwarding
tnx a lot for your help.
-Ramadoss
-Original Message-
From: Gopalakrishnan, Jayesh [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 6:45 PM
To: Struts Users Mailing List
Subject: RE: Action not forwarding to another Action
I think when you say 'redirect="true"&
nday, March 01, 2004 3:24 PM
To: Struts Users Mailing List
Subject: RE: Action not forwarding to another Action
if ".exe" is what you hv configured in web.xml then I see
there is no reason why it is not picking up
possible reason could be...
make sure that you are forwarding to &quo
ter
from one form to another in such case if you are calling other page/calling action
class by passing request parameter you could get those parameters on the other
page/action class.
hth
-Ramadoss
-----Original Message-----
From: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED]
Sent:
[EMAIL PROTECTED]'
Subject: Action not forwarding to another Action
Hi:
I have a similar problem that I can't invoke OrderSearchAction.exe from
OrderMaintainAction. I set a debug breakpoint at the beginning of
OrderSearchAction and never get there.
Hi:
I have a similar problem that I can't invoke OrderSearchAction.exe from
OrderMaintainAction. I set a debug breakpoint at the beginning of
OrderSearchAction and never get there.
I have two other questions:
1) Can someone also tell m
For my form validation failure, I have specified another action as Input.
When I submit to /result/view, the validation fails, I change one of my form-bean
attribute in validate method itself.
It then goes to /login
and the validate method is again called. I find that the form-bean attribue has n
Disclaimer:Not knowing your application I realize that the following may be
prescribing something you are already doing.
I wonder if you can avoid some of the problems you are having with re-entrant pages by
using lightweight action classes.
Say you have business services to
- retrieve master
>From: "Sri Sankaran" <[EMAIL PROTECTED]>
>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>
>You haven't given enough information below (seems like a continuation of =
>some previous thread).
>
>I *think* what you are trying to do is go "forward" from one action to =
>another [*] but before so
pe
-Original Message-
From: Sundar Narasimhan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 11:53 PM
To: [EMAIL PROTECTED]
Subject: Q: forwarding to another action ..
Hi, I finally figured out that the problem w/ what I was trying to do was that the
"back" fo
Hi, I finally figured out that the problem w/ what I was trying to do
was that the "back" forward didn't have the ".do". Once I included the
.do things seem to work. (i.e. I can have my "compose", "save"
etc. actions forward back to the master action in certain cases).
o: '[EMAIL PROTECTED]'
Subject: forwarding to another action
Hi
I want to forward to another action class from an actiondispatcher, how can
I accomplish this?
Thanks in advance
Jan Fredrik Overaasen
Norway
Create a declaration whose path is another Action's URL. In
this way you can chain actions together:
(assuming you are using extension mapping for "*.do" in the usual way).
Craig
On Tue, 21 Aug 2001, Jan Fredrik Overaasen wrote:
> Hi
> I want to forward to another action class from an
Hi
I want to forward to another action class from an actiondispatcher, how can
I accomplish this?
Thanks in advance
Jan Fredrik Overaasen
Norway
24 matches
Mail list logo