A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to get https url ?
Joined: Sep 29, 2010
Sep 16, 2011 00:50:07
I used request.getRequestURL() in
, it returns only http url alone. but i want to get https url also , how to get it by using servlet? please help me.
Joined: Sep 05, 2011
Sep 16, 2011 04:35:39
I am not sure sure but it has to be done from your configuration xml.
Joined: Jun 10, 2011
Sep 16, 2011 04:55:03
I think for that you will also have to get a SSL Certificate.
I also wanted to know in detail how https works.
Any experienced ranchers please guide.
Thanks in advance.
Joined: Mar 10, 2008
Sep 16, 2011 05:08:11
This is how to setup SSL for
Other appservers has other ways to do it, but all have that in common that you need to generate a certificate (suitable for dev) or buy one from a CA (suitable for production).
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: How to get https url ?
unknown protocol error.
trying to open a connection to a secure server (unknown certificate)
Using a servlet to log into a webpage
Using https in java application
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015