DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16113>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16113

removing then replacing a jsp page continues to give a 404





------- Additional Comments From [EMAIL PROTECTED]  2004-03-05 13:56 -------
Example for fixed code 
 
JspServletWrapper: 
       } catch (FileNotFoundException ex) {  
            String includeRequestUri = (String)  
                request.getAttribute("javax.servlet.include.request_uri");  
            ctxt.incrementRemoved() 
            if (includeRequestUri != null) {  
                // This file was included. Throw an exception as  
                // a response.sendError() will be ignored by the  
                // servlet engine.  
                throw new ServletException(ex);  
            } else {  
                try {  
                    response.sendError(HttpServletResponse.SC_NOT_FOUND,  
                                      ex.getMessage());  
                } catch (IllegalStateException ise) {  
                    log.error(Localizer.getMessage("jsp.error.file.not.found",  
                                                   ex.getMessage()),  
                              ex);  
                }

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to