0 Replies Latest reply on Jul 19, 2005 5:00 AM by Nitin Jain

    request.getInputStream() hangs if inputstream does not conta

    Nitin Jain Newbie

      Hi There,

      I am facing a starnge problem. I'm trying to get the inputstream from HttpServletRequest object by

      . I frequest inputstream contains data then it works fine. But if request inputstream does not contain any data then the system hangs. Can u suggest me a way out.

      My Code:
      BufferedInputStream bufferedInputStream = new BufferedInputStream(request.getInputStream(), 2048);