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: tomcat-dev@jakarta.apache.org
ReportedBy: chandu603@yahoo.com
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
|