Re: https and http on same server

On Tue, 27 Jul 1999, brax wrote:

> So I tried modifications proposed and it work fine.
> But, in the httpsd.java I need to change https into http; example :
> 
> request.setURL(new URL("http", url.getHost(), url.getPort(),
> url.getFile()));
> // jb request.setURL(new URL("https", url.getHost(), url.getPort(),
> url.getFile()));
> 
> otherwise I get a runtime error : 
> java.lang.NoClassDefFoundError: org/w3c/www/protocol/http/HttpURLConnection
> 
> I had a look at that source file but cannot see what's involved.
> 
> Any ideas ??

That maybe was a classloader problem, try to get the latest 2.0.3
(released today :) ), and see if you have the problem again.
Regards,

      /\          - Yves Lafon - World Wide Web Consortium - 
  /\ /  \        Architecture Domain - Jigsaw Activity Leader
 /  \    \/\    
/    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org    

Received on Tuesday, 27 July 1999 09:51:04 UTC