Re: Response already committed when using ActionTag

2008-06-14 Thread Dave Newton
set, I don't know if that would help or not). Dave --- On Sat, 6/14/08, Jeromy Evans <[EMAIL PROTECTED]> wrote: > From: Jeromy Evans <[EMAIL PROTECTED]> > Subject: Re: Response already committed when using ActionTag > To: "Struts Users Mailing List" > Date:

Re: Response already committed when using ActionTag

2008-06-14 Thread Jeromy Evans
[EMAIL PROTECTED] wrote: Hi Jeromy, thanks for the respose. The response is already committed in the action class (before the Result is executed). In the execute() method, the result of 'response.isCommitted()' is true. So I think the response is committed even before getting to the Result. A

Re: Response already committed when using ActionTag

2008-06-13 Thread David . W . Larson
cc Subject Please respond to Re: Response already committed when "Struts Users using ActionT

Re: Response already committed when using ActionTag

2008-06-13 Thread Jeromy Evans
[EMAIL PROTECTED] wrote: I have a JSP that uses an ActionTag to call a Struts 2 action class directly from the JSP. But in the action class, the HTTP response has already been committed. This makes it impossible for me to set cookies from my action class. I tested this by calling HttpServletR

Re: Response already committed

2007-04-26 Thread Lance
;s approval. If received in error, contact the sender and delete them. -Original Message- From: Lance [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007 3:47 AM To: Struts Users Mailing List Subject: Re: Response already committed The response is considered committed once you have

Re: Response already committed

2007-04-26 Thread Lance
ECTED] Sent: Wednesday, April 25, 2007 3:47 AM To: Struts Users Mailing List Subject: Re: Response already committed The response is considered committed once you have written to the outputstream (perhaps in a jsp). Once a response has been comitted, you can not redirect or forward etc. The

RE: Response already committed

2007-04-25 Thread Gajbhe, Laxman \(Contractor\)
From: Lance [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007 3:47 AM To: Struts Users Mailing List Subject: Re: Response already committed The response is considered committed once you have written to the outputstream (perhaps in a jsp). Once a response has been comitted, you can not redire

Re: Response already committed

2007-04-25 Thread Lance
The response is considered committed once you have written to the outputstream (perhaps in a jsp). Once a response has been comitted, you can not redirect or forward etc. The best solution is to redirect before you write anything to the output stream, sometimes this is not possible. Another sli

Re: Response

2007-03-09 Thread Laurie Harper
Abhimanyu Koul wrote: Hi! I want to set a customized response for every action. ( Actually, I want to set the header to include cache control for every response) I want it to be unanimous for all pages. So, can I set it in RequestProcessor or ActionServlet and how. Please reply asap. Just add

RE: Response to "error in setting up sslext"

2004-05-07 Thread Joe Germuska
It's possible that you aren't using a full Struts 1.1 release. It looks like there were some changes to the TilesUtil stuff right around the release of Struts 1.1 which could easily lead to a problem like this. (you can see more details by looking at http://cvs.apache.org/viewcvs.cgi/jakarta

RE: Response to "error in setting up sslext"

2004-05-06 Thread Marcella Turner
I managed to get a more complete stack trace of the error: [Servlet Error]-[action]: java.lang.ClassCastException: org.apache.struts.tiles.TilesUtilImpl at org.apache.struts.tiles.TilesRequestProcessor.initDefinitionsMapping(TilesRequestProcessor.java:126) at org.apache.struts.tiles.TilesRequ