Fix exception handling on JSP

This commit is contained in:
Paulo Gustavo Veiga 2023-11-20 19:56:28 -08:00
parent 68c8f5c6b8
commit 1c73a8d79d

View File

@ -27,8 +27,7 @@
<%-- Hack to force view selection on react to move all the UI to react --%> <%-- Hack to force view selection on react to move all the UI to react --%>
window.errorMvcView = '${requestScope['exception']!=null?(fn:indexOf(requestScope['exception'],'SecurityException') gt 1?'securityError':'unexpectedError'):''}'; window.errorMvcView = '${requestScope['exception']!=null?(fn:indexOf(requestScope['exception'],'SecurityException') gt 1?'securityError':'unexpectedError'):''}';
/* /*
${requestScope['exception'].printStackTrace(pageContext.response.writer)} ${requestScope['exception']}
${requestScope['javax.servlet.error.exception'].printStackTrace(pageContext.response.writer)}
*/ */
</script> </script>