The Artima Developer Community
Sponsored Link

Java Answers Forum
https to http

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Lynn Hollerman

Posts: 67
Nickname: gmholler
Registered: Mar, 2002

https to http Posted: Nov 13, 2003 11:27 AM
Reply to this message Reply
Advertisement
I have an application that uses https - it is only for authentication; once that is done, I need to redirect back to an http site. If I use a RequestDispatcher and then the forward() method of RequestDispatcher, the redirection will happen - but only to the same context, i.e. https doesn't change to http, the port # (one for http, another for https) will not change. But the request and the response DO get passed this way. However, I know that the sendRedirect() method will work to send things outside the current context - but it doesn't pass the request and the response. In essence, what want to do is go from

https://localhost:8443/myContext
to
http://localhost:8080/myContext

This seems simple, like I'm forgetting something. Can anyone help me out?

Thanks!

Lynn.

Topic: is it possible to  get date format MON-YYY in java Previous Topic   Next Topic Topic: detecting overflow and carry of ints in java

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use