This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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


Win a copy of Elasticsearch in Action this week in the Big Data forum!
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 ]
 
 
subject: IllegalStateException when piping XSLT result into getOutputStream()