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

*** shadow/450  Thu Feb  1 23:21:32 2001
--- shadow/450.tmp.13247        Thu Feb  1 23:21:32 2001
***************
*** 0 ****
--- 1,21 ----
+ +============================================================================+
+ | RequestDispatcher.forward() broken with custom ServletRequest implementati |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 450                         Product: Tomcat 3                |
+ |       Status: RESOLVED                    Version: Nightly Build           |
+ |   Resolution: INVALID                    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 chaining services via RequestDispatcher.forward(ServletRequest req, 
+ServletResponse res), there is no way to modify the data in req.  For instance, if I 
+wished to perform alterations on the request data and create my own implementation of 
+ServletRequest. I cannot then use an instance of my implementation this with 
+RequestDispatcher.forward() because the first thing it attempts to do is cast the 
+ServletRequest to org.apache.tomcat.facade.HttpServletRequestFacade. This makes for 
+some rather tame and incomplete chaining.
+ 
+ ------- Additional Comments From [EMAIL PROTECTED]  2001-02-01 23:21 -------
+ Changing the request is explicitely forbiden in servlet 2.2, you must
+ use filters in 2.3

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

Reply via email to