[ 
http://jira.magnolia.info/browse/MAGNOLIA-1565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17869#action_17869
 ] 

Gregory Joseph commented on MAGNOLIA-1565:
------------------------------------------

This just in, the following request attributes are set when serving an error 
page:
* when serving for a mapped error code:
{noformat}
    javax.servlet.error.message = NOT_FOUND
    javax.servlet.error.request_uri = /magnolia-empty-webapp/eee.html
    javax.servlet.error.servlet_name = default
    javax.servlet.error.status_code = 404
{noformat}
* when serving for a mapped exception:
{noformat}
    javax.servlet.error.exception = java.lang.UnsupportedOperationException: my 
error message
    javax.servlet.error.exception_type = class 
java.lang.UnsupportedOperationException
    javax.servlet.error.message = my error message
    javax.servlet.error.request_uri = /magnolia-empty-webapp/docroot/test2.jsp
    javax.servlet.error.servlet_name = jsp
    javax.servlet.error.status_code = 500
{noformat}



> Allow error pages (401,404,500 etc,etc) to be configured as Magnolia pages
> --------------------------------------------------------------------------
>
>                 Key: MAGNOLIA-1565
>                 URL: http://jira.magnolia.info/browse/MAGNOLIA-1565
>             Project: Magnolia
>          Issue Type: New Feature
>         Environment: 3.1-SNAPSHOT
> JBoss 4.0.5
>            Reporter: Amir Mistric
>            Assignee: Boris Kraft
>            Priority: Minor
>
> While discussing error page locations with Sameer (via dev list and support), 
>  it was suggested that this feature may make it into next version.
> The goal would be to mimic web.xml error page logic where one can define an 
> error code or exception (or both) and specify Magnolia page that should be 
> displayed when such error/exception occurs.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to