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 code.

response.setContentType("application/octect-stream");
response.setHeader("Content-Disposition", "attachment; filename=" + 
zipFileName);
response.setContentLength((int)tempCSVFile.length());

As part of the app i need to send a zip file back to the users which contains 
one or many csv files (the file sends np).  I need to return this 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 .jsp coded with html:errors 
tags waiting for the errors?  Can both of these tasks be accomplished together?

I'm supposed to have the errors displaying by tomorrow, so quick responses 
would be greatly appreciated :)

Thanks in advance.


-------------------------------------------------------------
<a href="http://Struts_User_List.roomity.com";>roomity.com</a>
Your Roomity Broadband Webapp ~~1129216073404~~
-------------------------------------------------------------

Reply via email to