File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes IllegalStateException when piping XSLT result into getOutputStream() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "IllegalStateException when piping XSLT result into getOutputStream()" Watch "IllegalStateException when piping XSLT result into getOutputStream()" New topic
Author

IllegalStateException when piping XSLT result into getOutputStream()

Justin Chu
Ranch Hand

Joined: Apr 19, 2002
Posts: 209
    
    1
As subject

Is it because UTF-8 format cannot be printed into a servlet response's output stream?
I used getWriter() instead of getOutputStream(), and it works.
[ December 10, 2002: Message edited by: Chu Tan ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IllegalStateException when piping XSLT result into getOutputStream()
 
Similar Threads
XSLT transformer formatting
xml output formatting
build DOM Object of a file whose path is given
redirect XML/DOM output to file??
Special Characters in XML