Posted By:
surinder_bora
Posted On:
Sunday, March 18, 2001 12:17 AM
Here is some part of my code , i have tried this but still i am getting an UnknownHostException ,even i have tried the microsoft JView with com.ms.met.wininet.WininetStreamHandlerFactory, but i couldnot get this package . code part: ---------------------------------------- System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol"); //if we have the JSSE provider available, //and it has not already been //set, add it as a new provide to the Security class. try { Class clsFactory = Class.forName ("com.sun.net.ssl.internal.ssl.Provider"); if( (null != clsFactory) && (null == Security.getProvider(&q
More>>
Here is some part of my code , i have tried this but still i am getting an UnknownHostException ,even i have tried the microsoft JView with
com.ms.met.wininet.WininetStreamHandlerFactory, but i couldnot get this package .
code part:
----------------------------------------
System.setProperty("java.protocol.handler.pkgs",
"com.sun.net.ssl.internal.www.protocol");
//if we have the JSSE provider available,
//and it has not already been
//set, add it as a new provide to the Security class.
try
{
Class clsFactory = Class.forName ("com.sun.net.ssl.internal.ssl.Provider");
if( (null != clsFactory) && (null == Security.getProvider("SunJSSE")) )
Security.addProvider((Provider)clsFactory.newInstance());
} catch(Exception e)
{
}
System.getProperties().put("http.proxySet","true");
System.getProperties().put("http.proxyHost", "192.7.7.2");
System.getProperties().put("http.proxyPort", "80" );
System.getProperties().put("http.FrontendHTTPS", "ON");
.....
---------------------------------------
give me some alternative to access these sites
Please do suggest me an alternative
waiting
Surinder Singh Bora
Mail Me at : sbora@ggn.aithent.com
<<Less