Hi all,
I have written a few JSPs to handle errors - Throwable.jsp, 403.jsp and 404.jsp
so far. All of these seem to suffer from a couple of issues:
1) JSP EL expressions do not work, so for example in Throwable.jsp
${javax.servlet.error.message} returns nothing, but <%=
request.getAttribute("javax.servlet.error.message") %> correctly returns the
message from the caught Throwable.
2) The ResourceBundle fetched from the SlingHttpServletRequest is a
NullResourceBundle not a JcrResourceBundle, so we can't use our
internationalization content from the repository.
Can someone tell me if these are bugs, or deliberate features?
Cheers,
James
Information in this e-mail and any attachments is confidential, and may not be
copied or used by anyone other than the addressee, nor disclosed to any third
party without our permission. There is no intention to create any legally
binding contract or other binding commitment through the use of this electronic
communication unless it is issued in accordance with the Experian Limited
standard terms and conditions of purchase or other express written agreement
between Experian Limited and the recipient. Although Experian has taken
reasonable steps to ensure that this communication and any attachments are free
from computer virus, you are advised to take your own steps to ensure that they
are actually virus free.
Companies Act information: Registered name: Experian Limited. Registered
office: Landmark House, Experian Way, NG2 Business Park, Nottingham, NG80 1ZZ,
United Kingdom. Place of registration: England and Wales. Registered number:
653331