use of com.opensymphony.xwork2.DefaultLocaleProvider in project struts by apache.
the class FileUploadInterceptorTest method createMultipartRequest.
private MultiPartRequestWrapper createMultipartRequest(HttpServletRequest req, int maxsize) throws IOException {
JakartaMultiPartRequest jak = new JakartaMultiPartRequest();
jak.setMaxSize(String.valueOf(maxsize));
return new MultiPartRequestWrapper(jak, req, tempDir.getAbsolutePath(), new DefaultLocaleProvider());
}
Aggregations