This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes Servlets and the fly likes How to route an user from http to https Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to route an user from http to https" Watch "How to route an user from http to https" New topic
Author

How to route an user from http to https

Mrutyunjay Hanchinal
Ranch Hand

Joined: Sep 26, 2001
Posts: 50
Hi
In my application I have to route an user from http to https if the current protocol is not secure. Is there any method that can detect the SSL port and redirect. This I want to do in order to avoid hardcoding.
Thanks
Mrutyunjay
 
Consider Paul's rocket mass heater.
 
subject: How to route an user from http to https
 
It's not a secret anymore!