Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using https for registring

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is largely Tomcat specific, I'll move it to the Apache/Tomcat forum for you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic