Re: not working when sending a file to client with struts.

2005-10-13 Thread Kishore Senji
> response.setContentType("application/zip"); > response.setHeader("Content-Disposition", "attachment; filename=" + > zipFileName); > response.setContentLength((int)tempCSVFile.length()); > BufferedInputStream bufferedInput = new BufferedInputStream(new > FileInputStream(tempCSVFile)); > BufferedOu

Re: Re: not working when sending a file to client with struts.

2005-10-13 Thread Simons Kevin
horshaq can you provide some details. I just spent four hours! on just getting a simple validation going!... But perhaps I can help you. - Original Message - From: "horshaq" <[EMAIL PROTECTED]> To: Sent: Thursday, October 13, 2005 9:39 PM Subject: Re: not working when s

Re: not working when sending a file to client with struts.

2005-10-13 Thread horshaq
Thanks for responding. >From you action after setting the headers and I assume you also >write the Zip >file contents to the OutputStream how are you going >back to the JSP. Yes, i do the following: response.setContentType("application/zip"); response.setHeader("Content-Disposition", "attachme

Re: not working when sending a file to client with struts.

2005-10-13 Thread Kishore Senji
> file along with any errors in creating the csv files. I'm finding that my > ActionErrors do not get returned to my .jsp file after calling the setHeader > method and changing the header. Does anyone have any suggests on how to best > to return errors to the user keeping in mind I already have a

Re: not working when sending a file to client with struts.

2005-10-13 Thread horshaq
Nobody? I've searched the web for the past few hours and can't seem to find anything related this topic. I can't be the only one to have this problem occur. I should also mention that i've try using as well and they don't show up either. Someone must know the answer, please speak up if you d

not working when sending a file to client with struts.

2005-10-13 Thread horshaq
Hello, this is my first post here. I am pretty new to struts and have wasted a ton of time trying to figure out why my error messages (using ActionErrors) were not getting displayed on my .jsp page. After commenting out all of my code, i've realized it has to do with the following lines of cod