forward after session timeout

2004-03-03 Thread Jerald Powel
Hi, I am using Struts/Tomcat 4., and I'm experiencing a problem forwarding after the session times out. The session is set to timeout in web.xml. After this happens, my mapping.findForward does not find the resource defined in my struts-config.xml. It seems to do nothing. What implication

No forward after action processing/restrictions for manipulating "response"?

2003-10-02 Thread Dirk Behrendt
Hello! I wrote an action for downloading a file. It is necessary to access the response variable (see code below). I found out, that this manipulation of "response" makes trouble. Normally after the action is processed a forward will happen. In my case I want to forward to another page. But I

Re: java.lang.IllegalStateException: Cannot forward after responsehasbeen committed

2003-03-27 Thread Becky Norum
On Thu, 2003-03-27 at 22:38, Craig R. McClanahan wrote: > There is a fundamental rule in the servlet API that things included with a > RequestDispatcher.include() call (which is what does under > the covers) cannot modify the HTTP headers of the response. Since you > need to modify those headers

Re: java.lang.IllegalStateException: Cannot forward after responsehasbeen committed

2003-03-27 Thread Craig R. McClanahan
On Thu, 27 Mar 2003, Becky Norum wrote: > Date: 27 Mar 2003 20:24:51 -0500 > From: Becky Norum <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Re: java.lang.IllegalSta

Re: java.lang.IllegalStateException: Cannot forward after responsehasbeen committed

2003-03-27 Thread Scott Barr
; - Original Message - > > From: "Becky Norum" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, March 28, 2003 1:47 AM > > Subject: java.lang.IllegalStateException: Cannot forward after response > > hasbeen committed > >

Re: java.lang.IllegalStateException: Cannot forward after responsehasbeen committed

2003-03-27 Thread Becky Norum
Original Message - > From: "Becky Norum" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, March 28, 2003 1:47 AM > Subject: java.lang.IllegalStateException: Cannot forward after response > hasbeen committed > > > > >

Re: java.lang.IllegalStateException: Cannot forward after response hasbeen committed

2003-03-27 Thread Alexandre Jaquet
what's your scope definition ? (in the struts-conf) -- Alexandre Jaquet - Original Message - From: "Becky Norum" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 28, 2003 1:47 AM Subject: java.lang.IllegalStateException: Cannot forward after

Re: java.lang.IllegalStateException: Cannot forward after responsehas been committed

2003-03-27 Thread Scott Barr
, 2003-03-28 at 11:17, Becky Norum wrote: > Does anyone know what the following exception means? > > javax.servlet.jsp.JspException: java.lang.IllegalStateException: Cannot > forward after response has been committed > > It seemed to be related to something in

RE: java.lang.IllegalStateException: Cannot forward after response has been committed

2003-03-27 Thread Miriam Aguirre
make sure you are not writing anything to the response stream before you forward.. -Original Message- From: Becky Norum [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 4:48 PM To: [EMAIL PROTECTED] Subject: java.lang.IllegalStateException: Cannot forward after response has

java.lang.IllegalStateException: Cannot forward after response hasbeen committed

2003-03-27 Thread Becky Norum
Does anyone know what the following exception means? javax.servlet.jsp.JspException: java.lang.IllegalStateException: Cannot forward after response has been committed It seemed to be related to something in this area of code: // ModuleConfig config = (ModuleConfig

RE: Forward after

2002-04-24 Thread ADH
2002 20:29 To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: Re: Forward after I don't disagree with this approach. One of the problems with using a tag in the jsp is that the check is postponed until you're actually in the jsp. The action servlet is a better place to han

Re: Forward after

2002-04-24 Thread Kevin . Bedell
rity option I get functionality. If I specify a logger, I change my logging options. Sorry for the cross post to the dev list - I seemed to cross the boundary between responding to the question and dreaming about the future! FWIW - Kevin Struts Newsgroup (@Basebeans.com) To: [EMAIL PROT

Re: Forward after

2002-04-23 Thread @Basebeans.com
Subject: Re: Forward after From: "Dave Barber" <[EMAIL PROTECTED]> === One thing we've done is to have our *Actions* all extend a base Action class (ie. SecuredAction). SecureAction extends Action { public ActionForward perform( ServletRequest, etc...) {

RE: Forward after

2002-04-23 Thread Brett Porter
EMAIL PROTECTED]] Sent: Wednesday, 24 April 2002 2:13 AM To: [EMAIL PROTECTED] Subject: Forward after I have some pages which require a user to be logged in and some which do not. If the tag determines that there is no user logged in, the user is forwarded to the login page. I'd like t

Re: Forward after

2002-04-23 Thread Dave Dribin
current page in the > > session. > > > > - Robert > > > > -Original Message- > > From: Andy Timm [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, April 23, 2002 11:13 AM > > To: [EMAIL PROTECTED] > > Subject: Forward after > >

RE: Forward after

2002-04-23 Thread Robert
Yes it can be messy :-) -Original Message- From: Andy Timm [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 12:31 PM To: Struts Users Mailing List Subject: RE: Forward after Robert - I'm doing this now, I was hoping do find a better way to deal with parameters. I can fo

RE: Forward after

2002-04-23 Thread Andy Timm
IL PROTECTED]] > Sent: Tuesday, April 23, 2002 11:13 AM > To: [EMAIL PROTECTED] > Subject: Forward after > > I have some pages which require a user to be logged > in > and some which do not. If the tag > determines that there is no user logged in, the user > is forwarde

Re: Forward after

2002-04-23 Thread Kevin . Bedell
d forwarded upon login. You should have all the source code for the tag - making these changes should be about as easy as any other solution. Andy Timm <[EMAIL PROTECTED]> on 04/23/2002 12:13:03 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]>

RE: Forward after

2002-04-23 Thread Robert
. You could probably also supply the current page in the session. - Robert -Original Message- From: Andy Timm [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 11:13 AM To: [EMAIL PROTECTED] Subject: Forward after I have some pages which require a user to be logged in and some which

Forward after

2002-04-23 Thread Andy Timm
I have some pages which require a user to be logged in and some which do not. If the tag determines that there is no user logged in, the user is forwarded to the login page. I'd like to remember where the user came from and forward them there after a successful authentication. I'm sure there a