My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 78: [easygou-backend] MultipartRequestParse.java 存在硬编码
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  chenling...@gmail.com
Closed:  Mar 2013


 
Project Member Reported by chendequ...@gmail.com, Mar 12, 2013
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


Please use labels and text to provide additional information.


Mar 12, 2013
Project Member #1 chendequ...@gmail.com
// maximum size that will be stored in memory
		factory.setSizeThreshold(4096);
		// the location for saving data that is larger than getSizeThreshold()
		String uploadFilePath = request.getServletContext().getRealPath("/upload");
		factory.setRepository(new File(uploadFilePath));

		ServletFileUpload upload = new ServletFileUpload(factory);
		// maximum size before a FileUploadException will be thrown
		upload.setSizeMax(5 * 1024 * 1024);
Summary: [easygou-backend] MultipartRequestParse.java 存在硬编码 (was: [easygou-backend] MultipartRequestParse.java 存在硬编码。)
Mar 12, 2013
Project Member #2 chendequ...@gmail.com
(No comment was entered for this change.)
Owner: chenling...@gmail.com
Mar 20, 2013
Project Member #3 chenling...@gmail.com
152
Mar 20, 2013
Project Member #4 chenling...@gmail.com
152
Status: Fixed

Powered by Google Project Hosting