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=25064>.
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=25064

Struts should not ignors response.isCommitted() tag

           Summary: Struts should not ignors response.isCommitted() tag
           Product: Struts
           Version: 1.1 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Standard Actions
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I’m using a FilterServlet to do some permission check. If user send a request 
not allowed, the filter will invoke response.sendError(401), that will cancel 
the request before it reaches the requested resource.

My filter does well if I request a JSP page, except I request an Action.

In the Action case, the client side still got the 401 error page, but the 
action was invoked also at the server side.

I set a breakpoint at the action’s execute method, no matter 
response.isCommitted() return true or false, it continue executing…

I’m also wondering why it not throw an exception when response.isCommitted() 
is true?

Thanks.
wuliang

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

Reply via email to