dgraham 2002/11/29 11:49:50
Modified: src/share/org/apache/struts/action ActionServlet.java
Log:
Removed duplicate InputStream close for Bugzilla PR# 14894.
Revision Changes Path
1.133 +5 -5
jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java
Index: ActionServlet.java
===================================================================
RCS file:
/home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java,v
retrieving revision 1.132
retrieving revision 1.133
diff -u -r1.132 -r1.133
--- ActionServlet.java 28 Nov 2002 07:47:37 -0000 1.132
+++ ActionServlet.java 29 Nov 2002 19:49:50 -0000 1.133
@@ -893,9 +893,9 @@
input = getServletContext().getResourceAsStream(path);
is.setByteStream(input);
digester.parse(is);
- input.close();
getServletContext().setAttribute
(Globals.MODULE_KEY + prefix, config);
+
} catch (Throwable t) {
log.error(internal.getMessage("configParse", path), t);
throw new UnavailableException
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>