【发布时间】:2015-12-11 11:27:55
【问题描述】:
简单地问它如何允许在 websphere 中进行随意的多部分解析,因为我知道我们在 context.xml 中用于 tomcat,但由于我是 websphere 的新手,所以不知道。有人可以帮助我吗?
如果 Tomcat 应该自动解析 multipart/form-data,则设置为 true 当 HttpServletRequest.getPart* 或 HttpServletRequest.getParameter* 被调用,即使在目标 servlet 未使用 @MultipartConfig 注释标记(请参阅 Servlet 规范 3.0,第 3.2 节了解详细信息)。请注意,任何设置 非 false 会导致 Tomcat 的行为方式不是 符合技术规范。默认为假。
【问题讨论】:
标签: websphere websphere-7 websphere-8