DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44018>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44018

           Summary: problem if user calls getParameterMap() and
                    getInputStream() on the same request
           Product: Tomcat 5
           Version: 5.0.0
          Platform: All
        OS/Version: Windows XP
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I created a servlet which calls getParameterMap() and getInputStream() on the
same request. I deployed the servlet in tomcat server.And i am sending the
request without setting any content type.So the default content-type for this is
application/x-www-form-urlencoded.Whenever i am calling both methods
[getParameterMap() and getInputStream()] getParameterMap is returning the
Map.But the getInputStream doesn't contain any data.

If i deploy the same servlet in weblogic server i am getting the Map and
inputstream also.

So it seems the tomcat server is not resetting the inputstream after calling the
getParamerMap().So thats why we are getting no data if i call getInputStream()
after getParamerMap().

So please advise me what needs to be done.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to