http://nagoya.apache.org/bugzilla/show_bug.cgi?id=142

*** shadow/142  Fri Mar  9 14:15:47 2001
--- shadow/142.tmp.7443 Fri Mar  9 14:15:47 2001
***************
*** 0 ****
--- 1,19 ----
+ +============================================================================+
+ | Feature to forward requests using request dispatcher even if the servlet i |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 142                         Product: Tomcat 3                |
+ |       Status: UNCONFIRMED                 Version: 3.1.1 Final             |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Normal                   OS/Version: All                     |
+ |     Priority: High                      Component: Servlet                 |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: [EMAIL PROTECTED]                                         |
+ |  Reported By: [EMAIL PROTECTED]                                           |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ When i process multipart/form data in my servlet, I need to read the input stream to 
+parse the binary data. I use HttpUtils.parsePostData to do this. Note that I do not 
+use getParameter on the HttpRequest anywhere after this(since that would definitely 
+fail - I have emptied the input stream into my own data structures). But I need to 
+forward this request to a JSP now. The JSP uses my data structures for the form 
+parameters (that i have passed in as attribute in the HTTP request). It looks like 
+internally, tomcat uses the getParameter call on the http request while invoking the 
+dispatcher.forward, which in turn calls httpUtils.parsePostData , thus landing up 
+with a short read !!
+ 
+ Is there any way, the forward can happen with an empty input stream of parameters ?

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

Reply via email to