[opencms-dev] Hiding stack trace from users

Sándor Ádám Kiss kisssandoradam at gmail.com
Tue Nov 8 17:00:31 CET 2016


Hi all!

Is it possible to hide stack traces form end users? I want to hide messages
like this:

Container-page element "/.content/function/function-00016.xml" could not be
rendered with formatter
"/system/modules/org.opencms.ade.config/formatters/function.jsp".
javax.servlet.ServletException: javax.servlet.jsp.JspException:
org.apache.jasper.JasperException:
/WEB-INF/jsp/offline/system/modules/hu.innovitech.simple.opencms.elements/elements/recover.jsp
(line: 13, column: 0) No tag "throws_exception...." defined in tag library
imported with prefix "fmt"Stack trace

These stack traces can be seen if i put an invalid tag into a jsp, e.g.:
<fmt:invalid

Regards,
Adam Kiss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20161108/1259a6ac/attachment.htm>


More information about the opencms-dev mailing list