• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

URLConnection

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to make an https connection to a servlet on another server from a servlet and wait for the reply from the servlet at the other end. I know I cannot use RequestDispatcher. How do I get the reply back from the servlet at the other end?
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ssssshhhhhh.........thats a secret....
just kidding, sorry i have no clue.
regds.
- satya
 
Alex Kravets
Ranch Hand
Posts: 476
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think you can since Java Security prohibits establishing connection on another server. I might be mistaken though, so check the java.security.*

------------------
Alex
"Java is the answer"
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic