spirng Mvc与sitemesh问题整合问题
悠悠-我心 2015-10-08 04:50:10 我在做文件上传是使用spingmvc 多文件上传 框架中加入了sitemesh3.0
//转换成多部分request
MultipartHttpServletRequest multiRequest = (MultipartHttpServletRequest)request;
在执行这个代码时报如下错误
Servlet.service() for servlet [springMVC] in context with path [/ManagePlatform] threw exception [Request processing failed;
nested exception is java.lang.ClassCastException: org.sitemesh.webapp.contentfilter.HttpServletRequestFilterable cannot be cast to org.springframework.web.multipart.MultipartHttpServletRequest] with root cause