Trust you all well.
My web application run on tomcat 6.0.43 and do not use apache or nginx at front.
I\'m already enforce my web from http redirect to https usi
just add this code in jsp under jsp scriptlet tags
<%
response.setHeader("Strict-Transport-Security" ,"max-age=7776000" );
%>
OR
Also can be add to server if JBoss then add below tags in web.xml of application
for
You have to add xmlnsi other wise it will throw Parsing exception
OR