• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Https

 
prasad hagargi
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to invoke a servlet/jsp from an application .The servlet/jsp is in a tomcat/resin server configured for https .How can i do it?
can normal url connection do the job.

--prasad
 
vikki
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.. You can use URL Connection in order to communicate with Servlet.
 
prasad hagargi
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thats true but my question is how can i invoke the servlet on a server using the https protocol
 
Bill william
Ranch Hand
Posts: 42
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use jdk 1.4
 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or use JDK1.2 or later with the JSSE extension installed. Other than that, it's as simple as adding "s" to "http": - Peter
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic