jstrachan 2002/11/25 10:40:44
Modified: jelly/src/java/org/apache/commons/jelly/tags/jetty
ResponseBodyTag.java
jelly project.xml
Log:
Patch to use the latest version of Jetty which should hopefully fix the GUMP build
problems.
Revision Changes Path
1.3 +1 -1
jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/tags/jetty/ResponseBodyTag.java
Index: ResponseBodyTag.java
===================================================================
RCS file:
/home/cvs/jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/tags/jetty/ResponseBodyTag.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ResponseBodyTag.java 30 Oct 2002 13:22:44 -0000 1.2
+++ ResponseBodyTag.java 25 Nov 2002 18:40:43 -0000 1.3
@@ -93,7 +93,7 @@
ByteArrayISO8859Writer writer = new ByteArrayISO8859Writer(1500);
writer.write(getBodyText());
writer.flush();
- httpResponse.setContentLength(writer.length());
+ httpResponse.setContentLength(writer.size());
writer.writeTo(httpResponse.getOutputStream());
}
1.92 +1 -1 jakarta-commons-sandbox/jelly/project.xml
Index: project.xml
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/jelly/project.xml,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -r1.91 -r1.92
--- project.xml 13 Nov 2002 18:48:30 -0000 1.91
+++ project.xml 25 Nov 2002 18:40:44 -0000 1.92
@@ -364,7 +364,7 @@
<!-- http server taglib -->
<dependency>
<id>jetty</id>
- <version>4.1-rc6</version>
+ <version>4.2.2</version>
</dependency>
<!-- jms taglib -->
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>