Anonymous | Login | Signup for a new account | 12-17-2024 11:03 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ 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 | ||||||
Status | closed | Product Version | 4.0.6 | ||||||
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? |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
33 total queries executed. 28 unique queries executed. |