Open each JSP file and insert the following code at the very beginning, before <!DOCTYPE html>:
1. Go to webroot/oriss/ROOT/Login.jsp
<% response.setHeader("Strict-Transport-Security", "max-age=7776000; includeSubDomains"); %> <!DOCTYPE html
2. Go to webroot/oriss/ROOT/index.jsp
<% response.setHeader("Strict-Transport-Security", "max-age=7776000; includeSubDomains"); %> <!DOCTYPE html PUBLIC
3. Go to webroot/oriss/ROOT/main.jsp
<% response.setHeader("Strict-Transport-Security", "max-age=7776000; includeSubDomains"); %> <!DOCTYPE html
After modifying the files, RESTART the WEB services.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article