Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SAX - Decoding request before calling parse()

Status
Not open for further replies.

diamondneil

Programmer
Sep 14, 2005
1
US
I have implemented the SAX Parser on a web application. To do this I create a BufferedReader from the request and then call the SAX parse() method.

BufferedReader reader = request.getReader();
InputSource inputSource = new InputSource( reader );
xmlReader.parse( inputSource );

The problem is that when the XML data is posted to our web application the data from the request is encoded, and thus I need to decode it before calling parse().

Has anyone encountered this problem? If so, what was their solution?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top