Problem is that buffer flushes on every 8912 bytes. So, I was thinking maybe if I reduce ti (or set to zero?) I could have let's say "real time" preview of print and write. Should I try to decrease buffer size?
Anyway I was also wondering about is there some better, easier method to debug this?
Moreover, I wonder why the authors of original code were using interchangeably both JspWriter.print() and JspWriter.write()? line after line of code. Whet did they accomplish with that?
I know that The write() methods are inherited from the Writer super class. The write() methods can take int, char, or String types. The print() methods of JspWriter are overloaded for many other types, such as boolean. In the example, the type of the list get() will invoke the corresponding overloaded pint() method for that type. Why not just using print() methods?