How can I configure in standalone.xml so that an incoming request e.g. http://localhost:8080/myapp is redirected to https://localhost:8443/myapp?
configure transport guarantee in your web.xml
<transport-guarantee>CONFIDENTIAL</transport-guarantee>