Posted By:
tonewoo_woods
Posted On:
Monday, July 30, 2001 01:42 AM
I have written a class to login a web site with the known username and password, the login used the SSL protocol. when I try to through the login, some time the program runs well, but sometime it runs failed, the getResponseCode.() is -1, I don't know why? i have setup jsse, and set the system properties in the program : Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider()); System.getProperties().put ( "java.protocol.handler.pkgs","com.sun. net.ssl.internal.www.protocol"); thanks best regards
More>>
I have written a class to login a
web site with the known username
and password, the login used the
SSL protocol.
when I try to through the login,
some time the program runs well,
but sometime it runs failed,
the getResponseCode.() is -1, I
don't know why?
i have setup jsse, and set the
system properties in the program :
Security.addProvider(new
com.sun.net.ssl.internal.ssl.Provider());
System.getProperties().put
( "java.protocol.handler.pkgs","com.sun.
net.ssl.internal.www.protocol");
thanks
best regards
<<Less