struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary VanMatre (JIRA)" <j...@apache.org>
Subject [jira] Created: (SHALE-172) If a clay full template (XML or HTML) was not found, an incorrect HTTP status code of 500 was reported.
Date Tue, 02 May 2006 18:00:20 GMT
If a clay full template (XML or HTML) was not found, an incorrect HTTP status code of 500 was
reported. 
--------------------------------------------------------------------------------------------------------

         Key: SHALE-172
         URL: http://issues.apache.org/struts/browse/SHALE-172
     Project: Shale
        Type: Bug

  Components: Clay  
    Versions: 1.0.1    
    Reporter: Gary VanMatre


The ClayViewHandler uses the response of the FacesContext's ExternalContext casting to a HttpServletResponse.
 This is to make the sendError method available.  

I believe that in a portal environment, the dispatch to the servlet should wrapper the RenderResponse
with an HttpServletResponse making the sendError method not perform any operation.

This question was asked on the user list a few weeks ago and there was not a response.  I'm
not sure if this is a correct assumption.  If this cast cause a problem in a portal server,
we can look into using the reflection API to invoke these method.

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


Mime
View raw message