wood burning stoves 2.0*
The moose likes Security and the fly likes How to switch from https to http? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "How to switch from https to http?" Watch "How to switch from https to http?" New topic

How to switch from https to http?

Gagan Grover

Joined: Mar 02, 2007
Posts: 17

I am using the below code to switch from http to https on the login page.

How to switch back from https to http?

A solution I read on one of the posts is to provide the next url as absolute by prefixing the url with http:// and hence all the other urls will be relative to this http. But in this case I don't know how to get the port number for http as I am currently on https.

Please help me on the same.

kritika das

Joined: Jun 17, 2011
Posts: 10
I am suggesting you a link that might be able to help you:
Don't get me started about those stupid light bulbs.
subject: How to switch from https to http?
Similar Threads
Redirecting to HTTPS
Switching from HTTPS back to HTTP
http https switch
web.xml security-constraint question
HttpServletRequest - RequestDispatcher - Forward - is not using Constraint