Forums Register Login

request.getReader()

+Pie Number of slices to send: Send
I am trying to debug some code that is not mine. In the servlet, doPost method, the code reads BufferedReader reader = request.getReader(). If I load it from a form, i get an error:
"Invalid at the top level of the document. Error processing resource 'http://localhost:8080/paws/FeedXsarDataToCapstoneServ'. Line 1, Position 1"

I don't want the url in the top level of the document for a post, how do i do this?
[ February 19, 2004: Message edited by: Keith Lockey ]
+Pie Number of slices to send: Send
That sounds like a very application specific error - where do you see it, in the HTML response on the browser?
Bill
It's just a flesh wound! Or a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 683 times.
Similar Threads
HttpServletRequest getReader() - encoding problem
a question on understand a java snippet
split big DOM xml file ??
text/html & text/plain
Getting IO exception with doPost is executed
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 00:52:21.