DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=35106>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=35106 Summary: endElement method in ResponseWrapper closes writer. Product: Struts Version: Unknown Platform: Other OS/Version: other Status: NEW Keywords: PatchAvailable Severity: minor Priority: P4 Component: Shale AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] [Shale] The endElement method in org.apache.shale.remote.ResponseWrapper closes the writer, preventing further use of the ResponseWrapper. The endElement method should be calling close(), rather than writer.close(), patch follows. Index: ResponseWrapper.java > =================================================================== --- ResponseWrapper.java (revision 177960) +++ ResponseWrapper.java (working copy) @@ -259,7 +259,7 @@ if (open) { writer.write("/"); - writer.close(); + close(); } else { writer.write("</"); writer.write(name); -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
