Hi,
I need to get HTTP to redirect to HTTPS on my glassfish 4 instance. I have HTTPS working, but I have to explicitly type HTTPS. I've tried various admin console settings to no avail. The non-SSL URL just says no data.
I also tried adding this style of web.xml security-constraint, but the war failed to deploy:
I'm sure someone out there must have gotten this working. Please help.