Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "using https for registring" Watch "using https for registring" New topic
Author

using https for registring

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

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 java.sun.com site, we can surf the site as usual, but when click on Register, then java.sun.com use HTTPS)
How to perform this functionality, and can I test it use localhost??
David O'Meara
Rancher

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: http://aspose.com/file-tools
 
subject: using https for registring
 
Similar Threads
SSL configuration in WEBSPHERE APPLICATION SERVER
SSL with Jbuilder ?
using https for registring
Switching btw 2 protocols
Issue in web.xml mapping