File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
spring-web/src/main/java/org/springframework/web/multipart Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2012 the original author or authors.
2
+ * Copyright 2002-2015 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -94,6 +94,9 @@ public interface MultipartFile {
94
94
* <p>If the file has been moved in the filesystem, this operation cannot
95
95
* be invoked again. Therefore, call this method just once to be able to
96
96
* work with any storage mechanism.
97
+ * <p><strong>Note:</strong> when using Servlet 3.0 multipart support you
98
+ * need to configure the location relative to which files will be copied
99
+ * as explained in {@link javax.servlet.http.Part#write}.
97
100
* @param dest the destination file
98
101
* @throws IOException in case of reading or writing errors
99
102
* @throws IllegalStateException if the file has already been moved
You can’t perform that action at this time.
0 commit comments