For a business request we need to fix the incorrect HTTP response code for our 404 Page not found and 500 Internal server error page.
I am not big fans of Java / JBoss and I am not familiar with how ATG manage HTTP response code for page. But I know our vendor should have configured the basic error page handling in the web.xml stating the jsp pages (a.k.a. 404.jsp and 500.jsp) for the mentioned error. But the way our vendor implemented causing the error page has a 302 Temporary redirect / Moved temporarily response code because of a page redirection happens on both 404.jsp and 500.jsp
I have been questioning why should there be a page redirection in those 2 files for another 2 jsp that render the real pages. So I remove the redirection and put all real content to those error page. Continue reading ATG / Oracle Commerce 404 Rendered From web.xml Definition Not Multisite Aware