> From: Petr Hracek [mailto:phrac...@gmail.com]
> Subject: Problem with downloading file over servlet
> 
> But when I am trying to download that files over servlet and https I
> receive following error:
> java.lang.ClassCastException:
> sun.net.www.protocol.http.HttpURLConnection cannot be cast to
> javax.net.ssl.HttpsURLConnection
>       at
> de.siemens.icn.hipath.unity.as.repgen.api.ServletRequestThread.
> downloadReport(ServletRequestThread.java:658)

You have bad code in the above location.  That's not Tomcat code - it's yours 
(or at least code you've adopted).

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

Reply via email to