tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Wingfield <jon.wingfi...@mkodo.com>
Subject Re: SSL on tomcat breaks file download
Date Tue, 02 Nov 2004 17:32:21 GMT
Archives:
http://marc.theaimsgroup.com/?l=tomcat-user&m=109818070801385&w=2
http://marc.theaimsgroup.com/?l=tomcat-user&m=105966032518910&w=2

Jon

Dobson Paul L Contr OO-ALC/LGFBR wrote:

> 
> 
> I created a JSP web application that allows user to dynamically generate 
> and download excel files using POI/HSSF. I use the following lines to 
> store the excel file in my application directory under a directory 
> titled "xlsreports":
> 
>  
> 
> nextXLSName =  MiscUtil.getNextXLSName(); //gets the next file name by 
> querying the database.
> 
> report.writeFile(WebappPrefs.getRptPath(session.getServletContext()) + 
> nextXLSName);
> 
>  
> 
>  
> 
> The above lines seem to work because I find the generated file in the 
> correct folder with the correct time stamp of when I tested the JSP.
> 
>  
> 
> I then use the following line of code to send the user the file:
> 
>  
> 
> <jsp:forward page="<%= \"xlsreports/\" + nextXLSName %>" />
> 
>  
> 
>  
> 
> This has always worked flawlessly until I implemented SSL on Tomcat. 
> Now, IE tells me that the requested site is either unavailable or cannot 
> be found.
> 
>  
> 
> Any ideas why implementing SSL would break this or how to fix it?  
> Thanks a million in advance.
> 
>  
> 
> --Paul
> 
>  
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message