Anonymous | Login | Signup for a new account | 12-17-2024 10:46 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0004073 | [Resin] | minor | always | 06-08-10 15:38 | 06-17-10 15:42 | ||||
Reporter | emil | View Status | public | ||||||
Assigned To | alex | ||||||||
Priority | high | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 4.0.8 | Product Version | 4.0.6 | ||||
Product Build | |||||||||
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 | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
33 total queries executed. 28 unique queries executed. |