I used request.getRequestURL() in servlet, it returns only http url alone. but i want to get https url also , how to get it by using servlet? please help me.
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).
Don't get me started about those stupid light bulbs.