Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

An Input stream from the request

 
chandraiah chintakayalu
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI All,
Can anybody explain me what is the use of getInputStream(); with an simple example.

InputStream input = request.getInputStream();

Thanks,
Chandraiah.c
[ September 21, 2008: Message edited by: Bear Bibeault ]
 
Amit Ghorpade
Bartender
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is used to read binary data from the request, say a PDF or JAR file.
 
sridhar ponnusamy
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which is mainly used for getting large amount of data(other than form data) from request.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic