Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

request.getReader()

 
Keith Lockey
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13074
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That sounds like a very application specific error - where do you see it, in the HTML response on the browser?
Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic