• Post Reply Bookmark Topic Watch Topic
  • New Topic

handling stream over http POST

 
Stephen Huey
Ranch Hand
Posts: 618
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JSP site, and I'm trying to give people the option to have some data posted to them (in this case, an XML file) over HTTP. Here's some code that looks like it could come out of Java Network Programming:

Now, of course I know how to handle form posts by pulling values out of the parameters and such, but what about handling the above kind of post? I really don't know how others can handle the stream of bytes that I'm posting to them--what can they do to capture this data?
Thanks!
 
Stephen Huey
Ranch Hand
Posts: 618
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, I knew this should have been pretty obvious. If the receiving end is a JSP, you can just call Request.getInputStream(), right?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!