[jdom-interest] SAXBuilder.setExpandEntities

Elliotte Rusty Harold elharo at metalab.unc.edu
Thu May 16 20:09:42 PDT 2002


>>  Jason, you're our resident servlet guru. Can we now consider getting
>>  rid of the XMLOutputter(Writer, ...) methods, or is there something
>>  I'm forgetting?
>
>Servlets have had a res.getOutputStream() method since the beginning, in
>fact before there was a res.getWriter(), but the use case in principally
>JSP where you only have access to a Writer.  A secondary use case is a
>servlet called within a RequestDispatcher include() where if the calling
>servlet used a Writer then you're stuck using a Writer.
>

Damn it. I knew there was something. I think what's really needed is 
a way for the Writer class to specify what characters it can handle. 
Unfortunately that's not something we can fix. Maybe it's worth an 
RFE at the JDC though.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
|             http://www.cafeconleche.org/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+



More information about the jdom-interest mailing list