|
Mantis - Resin
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 4073 | minor | always | 06-08-10 15:38 | 06-17-10 15:42 | |
|
|
|||||
| Reporter: | emil | Platform: | |||
| Assigned To: | alex | OS: | |||
| Priority: | high | OS Version: | |||
| Status: | closed | Product Version: | 4.0.6 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 4.0.8 | ||
|
|
|||||
| Summary: | 0004073: compatibility with spring's MockHttpServletRequest | ||||
| Description: |
(req by moltobenny) Resin 4.0.6, Spring 3.0.2: This: MockHttpServletRequest mockrequest = new MockHttpServletRequest(); MockHttpServletRequest mockresponse = new MockHttpServletResponse(); ... RequestDispatcher dispatcher = webApplicationContext.getServletContext().getReque stDispatcher(path); dispatcher.forward(mockrequest, mockresponse); ...throw the following exception: java.lang.ClassCastException: org.springframework.mock.web.MockHttpServletReques t cannot be cast to com.caucho.server.http.CauchoRequest at com.caucho.server.http.CauchoRequestWrapper.getCau choRequest(CauchoRequestWrapper.java:781) I've tried everything I can think of. Help? |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||