Viewing Issue Advanced Details
[ Jump to Notes ]
|
[ View Simple ]
[ Issue History ]
[ Print ]
|
ID |
Category |
Severity |
Reproducibility |
Date Submitted |
Last Update |
0003059 |
[Resin] |
minor |
always |
11-09-08 00:56 |
08-13-09 16:23 |
|
Reporter |
masum |
View Status |
public |
|
Assigned To |
ferg |
Priority |
normal |
Resolution |
fixed |
Platform |
|
Status |
closed |
|
OS |
|
Projection |
none |
|
OS Version |
|
ETA |
none |
Fixed in Version |
4.0.2 |
Product Version |
3.2.1 |
|
Product Build |
|
|
Summary |
0003059: javax.servlet.foward.* request attributes not set if the request is wrapped |
Description |
If a servlet filter wraps a request with a subclass of HttpServletRequestWrapper, when the request is forwarded (say to a JSP), the javax.servlet.foward.* attributes are not set in the request. These attributes are supposed to be set in a forwarded request according to the 2.4 servlet specs. The issue is present in both 3.2.x and 3.1.x branches. |
Steps To Reproduce |
|
Additional Information |
The issue is probably in the RequestDispatcherImpl.forward(request, response, method, invocation) method. I tried to understand the code flow, but it is difficult without understanding the design scenario. The code sets the attributes in the sub request, but then passes on the top request to the invocation. |
|
Attached Files |
|
|