Re: newbiew Q: how to do redirect instead of forward

2003-06-07 Thread Vic Cekvenich
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

RE: newbiew Q: how to do redirect instead of forward

2003-06-07 Thread Mark Galbreath
[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

newbiew Q: how to do redirect instead of forward

2003-06-06 Thread Zhu He
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

RE: newbiew Q: how to do redirect instead of forward

2003-06-06 Thread Jimmy Emmanual
: 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

Re: newbiew Q: how to do redirect instead of forward

2003-06-06 Thread ian_d_stewart
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

RE: newbiew Q: how to do redirect instead of forward

2003-06-06 Thread Brandon Goodin
/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

Re: newbiew Q: how to do redirect instead of forward

2003-06-06 Thread Zhu He
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

RE: newbiew Q: how to do redirect instead of forward

2003-06-06 Thread Jimmy Emmanual
/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

RE: newbiew Q: how to do redirect instead of forward

2003-06-06 Thread ian_d_stewart
-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

Re: newbiew Q: how to do redirect instead of forward

2003-06-06 Thread Zhu He
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

RE: newbiew Q: how to do redirect instead of forward

2003-06-06 Thread Craig R. McClanahan
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

RE: newbiew Q: how to do redirect instead of forward

2003-06-06 Thread Steve Raeburn
-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

RE: newbiew Q: how to do redirect instead of forward

2003-06-06 Thread Craig R. McClanahan
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