RE: Redirecting back to input

2005-02-08 Thread Chaikin, Yaakov Y.
e question. :) Thanks, Yaakov. -Original Message- From: Karan [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 08, 2005 4:48 PM To: Struts Users Mailing List Subject: Re: Redirecting back to input This method will cause an actual redirect, and so, the user will see the correct name of the action in

Re: Redirecting back to input

2005-02-08 Thread Karan
4:03 PM To: Jeff Beal; user@struts.apache.org Subject: Re: Redirecting back to input At 3:32 PM -0500 2/7/05, Jeff Beal wrote: I looked at the source of the RequestProcessor.processValidate() method, and it certainly doesn't look like there's any way to redirect on validation err

RE: Redirecting back to input

2005-02-07 Thread Joe Germuska
, simply use: Joe Thanks, Yaakov. -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: Monday, February 07, 2005 4:03 PM To: Jeff Beal; user@struts.apache.org Subject: Re: Redirecting back to input At 3:32 PM -0500 2/7/05, Jeff Beal wrote: I looked at the source of the

RE: Redirecting back to input

2005-02-07 Thread Chaikin, Yaakov Y.
] Sent: Monday, February 07, 2005 4:03 PM To: Jeff Beal; user@struts.apache.org Subject: Re: Redirecting back to input At 3:32 PM -0500 2/7/05, Jeff Beal wrote: >I looked at the source of the RequestProcessor.processValidate() >method, and it certainly doesn't look like there's any

Re: Redirecting back to input

2005-02-07 Thread Joe Germuska
At 3:32 PM -0500 2/7/05, Jeff Beal wrote: I looked at the source of the RequestProcessor.processValidate() method, and it certainly doesn't look like there's any way to redirect on validation error without modifying the behavior there. I think that if in your element in Struts config, you use:

Re: Redirecting back to input

2005-02-07 Thread Jeff Beal
I looked at the source of the RequestProcessor.processValidate() method, and it certainly doesn't look like there's any way to redirect on validation error without modifying the behavior there. Also, since the ActionErrors from the validate() method are stored in the request scope (something I

Re: Redirecting back to input

2005-02-07 Thread Niall Pemberton
How about an alternative way of doing things. Use the same ActionMapping (i.e. url) for both "preparing/displaying" the page initially and submitting the form. That way its the same URL whatever the user book marks. In your Action have something like the following public class MyAction extend

Re: Redirecting back to input

2005-02-07 Thread Jeff Beal
With only six users, you shouldn't run into problems. You should never have more than six sessions, therefore never more than six copies of each type of ActionForm in your application. Jason Long wrote: I am currently storing all of my action forms in session scope. My application has many for

RE: Redirecting back to input

2005-02-07 Thread Chaikin, Yaakov Y.
sage- From: news [mailto:[EMAIL PROTECTED] Behalf Of Jeff Beal Sent: Monday, February 07, 2005 2:55 PM To: user@struts.apache.org Subject: Re: Redirecting back to input Chaikin, Yaakov Y. wrote: > Is there a way to tell Struts to actually redirect to the "input" instead of > forwar

RE: Redirecting back to input

2005-02-07 Thread Chaikin, Yaakov Y.
Jason, Can you please start this as under a different subject line? Thanks, Yaakov. -Original Message- From: Jason Long [mailto:[EMAIL PROTECTED] Sent: Monday, February 07, 2005 3:08 PM To: 'Struts Users Mailing List' Subject: RE: Redirecting back to input I am currently s

RE: Redirecting back to input

2005-02-07 Thread Chaikin, Yaakov Y.
] Behalf Of Jeff Beal Sent: Monday, February 07, 2005 2:55 PM To: user@struts.apache.org Subject: Re: Redirecting back to input Chaikin, Yaakov Y. wrote: > Is there a way to tell Struts to actually redirect to the "input" instead of > forward to it? Basically, what I am trying to achi

RE: Redirecting back to input

2005-02-07 Thread Jason Long
: Monday, February 07, 2005 1:55 PM To: user@struts.apache.org Subject: Re: Redirecting back to input Chaikin, Yaakov Y. wrote: > Is there a way to tell Struts to actually redirect to the "input" instead of > forward to it? Basically, what I am trying to achieve here is this. When

RE: Redirecting back to input

2005-02-07 Thread Jason Long
: Monday, February 07, 2005 1:55 PM To: user@struts.apache.org Subject: Re: Redirecting back to input Chaikin, Yaakov Y. wrote: > Is there a way to tell Struts to actually redirect to the "input" instead of > forward to it? Basically, what I am trying to achieve here is this. When

Re: Redirecting back to input

2005-02-07 Thread Jeff Beal
Chaikin, Yaakov Y. wrote: Is there a way to tell Struts to actually redirect to the "input" instead of forward to it? Basically, what I am trying to achieve here is this. When the user first comes to the form, it's a regular JSP looking URL, i.e., directly accessible to the user through .../blah.js

RE: Redirecting back to input

2005-02-07 Thread Chaikin, Yaakov Y.
Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Monday, February 07, 2005 1:09 PM To: Struts Users Mailing List Subject: Re: Redirecting back to input From: "Chaikin, Yaakov Y." <[EMAIL PROTECTED]> > When the > user first comes to the form, it's

Re: Redirecting back to input

2005-02-07 Thread Wendy Smoak
From: "Chaikin, Yaakov Y." <[EMAIL PROTECTED]> > When the > user first comes to the form, it's a regular JSP looking URL, i.e., directly > accessible to the user through .../blah.jsp... If the form doesn't validate, > Struts forwards the user to the same exact page with some error messages on > it,