If I understand right then sun.net.www.protocol.http.HttpURLConnection is
not part of any class, right / is obsolete?

Or is there any other class?

Sorry for that stupid question but I do not understand. Code has been really
adopted.

2010/5/3 Caldarale, Charles R <chuck.caldar...@unisys.com>

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


-- 
Best Regards / S pozdravem
Petr Hracek

Reply via email to