It's not a secret anymore!
The moose likes Tomcat and the fly likes using https for registring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "using https for registring" Watch "using https for registring" New topic

using https for registring

Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3479

Hola ranchers.
I am using Tomcat 4.1.27 and I have the following question:
we know that if we want to use the HTTPS protocol, we must uncomment *some
part* from the server.xml file.
OK, but in my web application, I have a register utiliy, when the user click this hyperlink, then Tomcat must use the HTTPS, like (https://localhost:8000/users/register.jsp)
and if the user doesn't click this link, Tomcat must use the usual HTTP.
(what I want to say is, like site, we can surf the site as usual, but when click on Register, then use HTTPS)
How to perform this functionality, and can I test it use localhost??
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

This is largely Tomcat specific, I'll move it to the Apache/Tomcat forum for you.
I agree. Here's the link:
subject: using https for registring
It's not a secret anymore!