Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Http request TO Https request

 
cognizant
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All,
I wanted to convery http request to https request...pl guide me how to go about it
TIA
 
Mohamed Yousuff
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The question is not clear. What do you mean by 'convert' ? What exactly is the nature of your problem ?
Originally posted by cognizant:
All,
I wanted to convery http request to https request...pl guide me how to go about it
TIA
 
Juanjo Bazan
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by cognizant:
All,
I wanted to convery http request to https request...pl guide me how to go about it
TIA

You don't need any aditional code in your servlets.
Just change the way you call your servlet: from http://server/servlet to https://server/servlet .
What you need is to configure your server(apache? tomcat?...) to manage https requests.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic