You can specify a forward action and "validate the previous form" at
same time". It is just that instaed of calling your own action you
called struts ready made action...
White, Joshua A (HTSC, CASD) wrote:
Currently, the Forward action forwards control to a resource on the se
ent: Friday, September 26, 2003 8:08 AM
Subject: Forward Action with redirect?
> Currently, the Forward action forwards control to a resource on the server
> side. How can I specify a forward action that also results in a client
side
> redirect? I don't want to call this resource d
Currently, the Forward action forwards control to a resource on the server
side. How can I specify a forward action that also results in a client side
redirect? I don't want to call this resource directly because I need to
make use of the struts validate mechanism to validate the previous
As My application is getting pretty large (about 60+ actions), there tends
to be a random forward to an action from my Action that is not declared in
my struts-cfg.xml. Is there a way in the global errors or something I can
trap for this?
---
Thanks...
Mick Knutson
---
_
oes any of you could
> provide an explanation?
>
> I am using VisualAge 3.5.e with WTE as IDE.
>
> TIA,
>
> Adolfo.
>
>
>
>
>
>
> >From: struts user <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List"
> <[EMAIL PROTE
provide an explanation?
I am using VisualAge 3.5.e with WTE as IDE.
TIA,
Adolfo.
From: struts user <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: RE: Forward action.
Date: Wed
Hi,
The page is displayed fine. However, Tomcat returned
me with the following stack traces. Do you know why?
Thanks!
- Lee
2002-12-11 16:12:28 - Ctx() : IOException in R( /) -
java.net.SocketException: C
onnection aborted by peer: socket write error
at
java.net.SocketOutputStream.socke
Lee wrote:
> I would like to know how do I forward from action to
> action? Can I do the following in my path="/showUsers.do"/>?
Those tags look fine to me, and similar to what I'm using. Did you try this
and get an error?
--
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State Univers
Hi All,
This question probably being asked already. However, I
could not find it on the Struts mailing list. So,
please bear with me for asking this question because I
really need help.
I would like to know how do I forward from action to
action? Can I do the following in my ?
makes sense to go through the action to reach jsp. I was trying to
cut some corners...
-Original Message-
From: David Graham [mailto:dgraham1980@;hotmail.com]
Sent: Friday, November 01, 2002 4:17 PM
To: [EMAIL PROTECTED]
Subject: RE: Can forward action point to tiles definition?
It doe
Yeah, it makes sense to go through the action to reach jsp. I was trying to
cut some corners...
-Original Message-
From: David Graham [mailto:dgraham1980@;hotmail.com]
Sent: Friday, November 01, 2002 4:17 PM
To: [EMAIL PROTECTED]
Subject: RE: Can forward action point to tiles definition
;'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Subject: RE: Can forward action point to tiles definition?
Date: Fri, 1 Nov 2002 15:52:11 -0500
doesn't work with latest or 1.1b2
href is translated to URI/site.default.page
and i get the following message from tomcat:
***
er 01, 2002 3:46 PM
To: [EMAIL PROTECTED]
Subject: RE: Can forward action point to tiles definition?
Does it work for you on 1.1b2? I just checked and it does work but I
haven't tried a nightly.
David
>From: "Zeltser, Mark" <[EMAIL PROTECTED]>
>Reply-To: &qu
Does it work for you on 1.1b2? I just checked and it does work but I
haven't tried a nightly.
David
From: "Zeltser, Mark" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'"
It doesn't with the latest build.
Mark.
-Original Message-
From: David Graham [mailto:dgraham1980@;hotmail.com]
Sent: Friday, November 01, 2002 3:37 PM
To: [EMAIL PROTECTED]
Subject: RE: Can forward action point to tiles definition?
I assume so, I'm not sure I've
I assume so, I'm not sure I've tried it though.
David
From: "Zeltser, Mark" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Subject: RE:
Thanks Dave,
It worked.
Should this one work as well?
Mark.
-Original Message-
From: David Graham [mailto:dgraham1980@;hotmail.com]
Sent: Friday, November 01, 2002 2:31 PM
To: [EMAIL PROTECTED]
Subject: Re: Can forward action point to tiles definition?
In the
NoOpAction has been deprecated in favor of using ForwardAction now that
ForwardAction can handle tiles.
David
From: "Madel,Kurt" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "''[EMAIL PROTECTED]' '&q
I believe that might work, but I know that the following works:
-Original Message-
From: Zeltser, Mark
To: '[EMAIL PROTECTED]'
Sent: 11/1/02 2:11 PM
Subject: Can forward action point to tiles definition?
Hi,
In struts 1.1 can I do the
In the nightlies it can. This was added after beta 2.
David
From: "Zeltser, Mark" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject: Can forward act
Hi,
In struts 1.1 can I do the following?
//
---
struts-config.xml
tiles-definition.xml
//
---
Hi Mikael,
Great. That worked !
Thank you very much.
Ramana
-Original Message-
From: Mikael Eriksson [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 23, 2002 2:26 PM
To: Struts Users Mailing List
Subject: Re: reg Forward action
Hi
Since the perform method should take an
Hi
Since the perform method should take an ActionForm as its form parameter
and not an ReferralForm your perform is probably not called at all...
change the declaration and cast the form to a ReferralForm inside.
If you do get inteo the perform method, try to put in some more trace printouts
t
; <[EMAIL PROTECTED]>
Sent: Saturday, March 23, 2002 4:29 AM
Subject: reg Forward action
>
> Hi
>
>I am trying to forward request from my Action class to a JSP (which is
> configured for forward aciton in struts-config.xml).
>When i submit the page i see the action i
Hi
I am trying to forward request from my Action class to a JSP (which is
configured for forward aciton in struts-config.xml).
When i submit the page i see the action is fired but it is not forwarding
the request to specified JSP. since i could see no
output on my browser . When i see
Hi
I am trying to forward request from my Action class to a JSP (which is
configured for forward aciton in struts-config.xml).
When i submit the page i see the action is fired but it is not forwarding
the request to specified JSP. since i could see no
output on my browser . When i see
Hi
I am trying to forward request from my Action class to a JSP (which is
configured for forward aciton in struts-config.xml).
When i submit the page i see the action is fired but it is not forwarding
the request to specified JSP. since i could see no
output on my browser . When i see
In a certain create action I create a new object, and want to forward to the
object's EditForm. The EditForm expects the ?objectId= parameter be
set on the request. Currently, I wrote the following code in my create
action to augment the current action with the "?componentId=NNN" parameter:
Act
to:[EMAIL PROTECTED]]
Gesendet: Sonntag, 4. November 2001 10:53
An: Struts Users Mailing List
Betreff: Re: forward action - basic understanding
David Larson wrote:
> I've seen examples where both...
> return mapping.findForward("success");
In this case, there is an existi
David Larson wrote:
> I've seen examples where both...
> return mapping.findForward("success");
In this case, there is an existing ActionForm named "success". These are
usually defined in the Struts configuration file (struts-config.xml).
The ActionForward gives the path a logical name (e.g. "su
I've seen examples where both...
return mapping.findForward("success");
and
return new ActionForward(mapping.getInput());
...redirect to the same location (and the new ActionForward appears to
always be used under user error type situations). What's the difference
between these two (in re: to
31 matches
Mail list logo