aspose file tools
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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to route an user from http to https