PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED],
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: newbiew Q: how to do redirect instead of forward
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
I've also been known
[EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED],
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: newbiew Q: how to do redirect instead of forward
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
I've also
for forward we usually do
execute() {
...
return mapping.findForward(listing);
}
I tried to use redirect by
execute() {
ActionForward af = mapping.findForward(listing);
af.setRedirect(true);
return af;
}
but get exception
javax.servlet.ServletException: Configuration is
: Zhu He [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 4:16 PM
To: [EMAIL PROTECTED]
Subject: newbiew Q: how to do redirect instead of forward
for forward we usually do
execute() {
...
return mapping.findForward(listing);
}
I tried to use redirect by
execute() {
ActionForward
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: newbiew Q: how to do redirect instead of forward
for forward we usually do
execute() {
...
return mapping.findForward(listing);
}
I tried to use redirect by
execute
/2003 04:16:07 PM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: newbiew Q: how to do redirect instead of forward
for forward we usually do
execute() {
...
return mapping.findForward(listing);
}
I tried to use redirect
PROTECTED]
Sent: Thursday, June 05, 2003 4:48 PM
Subject: RE: newbiew Q: how to do redirect instead of forward
1) You need to set your forward redirect=(true|false) in your
struts-config.xml for that particular action mapping.
2) The difference...
a) redirect generates a whole new request
/2003 04:16:07 PM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: newbiew Q: how to do redirect instead of forward
for forward we usually do
execute() {
...
return mapping.findForward(listing);
}
I tried to use redirect
-6100
Brandon Goodin [EMAIL PROTECTED] on 06/05/2003 04:48:43 PM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
cc:
Subject: RE: newbiew Q: how to do redirect instead of forward
1) You need to set your forward redirect
Ok. So, from the user's perspective, when we do a redirect, they are sent
to a different location. When we do a forward, they are not, even if the
content changes?
The content changes to the content of the new page, but address bar stays
the same because all the forwarding is done on the
On Thu, 5 Jun 2003 [EMAIL PROTECTED] wrote:
Date: Thu, 5 Jun 2003 16:54:45 -0400
From: [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: newbiew Q: how to do redirect instead of forward
Ok. So, from
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
I've also been known to create web applications that open the app in a new
window without these things -- it doesn't stop the advanced user who knows
the keyboard shortcuts from trying to screw things up, but it
On Fri, 6 Jun 2003, Steve Raeburn wrote:
Date: Fri, 6 Jun 2003 22:32:04 -0700
From: Steve Raeburn [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED],
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: newbiew Q: how to do redirect
13 matches
Mail list logo