Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

Using java in http connection

Wed Oct 22, 2008 1:21 am

Maybe someone can help me with some java stuff.
I'm using a java application to connect to an HTTPS site. My OS is linux.
Initially i have no certificate of the server, e.q.( a machine with IP
I want to connect to that IP using https and acquire its certificate,
and just like
web browser, I need to prompt a dialog to either accept or cancel the

Do you have any idea how to do?

Re: Using java in http connection

Wed Oct 22, 2008 1:22 am

You can try this, http://hc.apache.org/httpclient-3.x/sslguide.html

Using predefine protocol :

Post a reply
  Related Posts  to : Using java in http connection
 How to open http connection using j2me     -  
 HTTP POST msg connection close problem     -  
 HTTP Server in Java     -  
 Get value from HTTP POST VARS     -  
 http proxy code     -  
 Send parameters using HTTP GET     -  
 Build distribution applications by remoting(TCP/HTTP)     -  
 Multipart HTTP forms submitter - With Progress Information     -  
 Connection object in jsp     -  
 How to use connection object in jsp     -