jstrachan 01/05/06 03:55:33
Modified: io/doc/web io.html
io/src/org/apache/taglibs/io URLTag.java
Log:
Patched URLTag so that the reader and writer instances are always cleared after
every tag usage and are released correctly
Revision Changes Path
1.3 +1 -1 jakarta-taglibs/io/doc/web/io.html
Index: io.html
===================================================================
RCS file: /home/cvs/jakarta-taglibs/io/doc/web/io.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- io.html 2001/05/05 13:54:09 1.2
+++ io.html 2001/05/06 10:55:33 1.3
@@ -3,7 +3,7 @@
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="author" content="James Strachan">
-<title>Jakarta Project: HTTP JSP Tag Library</title>
+<title>Jakarta Project: IO Tag Library</title>
<link type="text/css" href="taglib.css" rel="stylesheet">
</head>
1.2 +5 -1 jakarta-taglibs/io/src/org/apache/taglibs/io/URLTag.java
Index: URLTag.java
===================================================================
RCS file: /home/cvs/jakarta-taglibs/io/src/org/apache/taglibs/io/URLTag.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- URLTag.java 2001/05/04 18:08:14 1.1
+++ URLTag.java 2001/05/06 10:55:33 1.2
@@ -79,7 +79,7 @@
/** A JSP Custom tag to make a URL request and output the response.
*
* @author <a href="mailto:[EMAIL PROTECTED]">James Strachan</a>
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*/
public class URLTag extends AbstractTag implements PipeProducer, PipeConsumer {
@@ -187,6 +187,8 @@
catch (Exception e) {
}
}
+ reader = null;
+ writer = null;
}
return EVAL_PAGE;
}
@@ -198,6 +200,8 @@
buffer = null;
input = false;
output = false;
+ reader = null;
+ writer = null;
}