RE: Jasper performance

2001-05-17 Thread Christopher Kirk
>From my view, the problem with JSP->Java->Class isn't performance its debugging. JSP is hard to work with when you make a mistake, very often the error message is less than helpful. A very large step in improving this is by making the line number given by the stack trace match the line numbers o

RE: String/StringBuffer (was Re: An alternative to JSP)

2001-01-26 Thread Christopher Kirk
> Paul, > > Actually, my investigations in the past have shown that (at least in > Sun's JDK 1.2) this is implemented as: > > new StringBuffer > ("My").append("dog").append("has").append("fleas").toString(); > > It is also possible to write a statement like: > > "My" + "dog" + '.' >

Question regarding org.apache.jasper.runtime.BodyContentImpl

2001-01-11 Thread Christopher Kirk
BodyContentImpl does not override javax.servlet.jsp.BodyContent.flush(); The implementation of BodyContent.flush is: public void flush() throws IOException { throw new IOException("Illegal to flush within a custom tag"); } My question is why. Is it an over sight that BodyContentImpl does n