How do we upload files

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

You can obtain the MultipartRequestWrapper from the ServletActionContext or by utilizing the fileUpload interceptor. The fileUpload interceptor is preferred.


See the file upload page for more examples and advanced configuration

Ask the ServletActionContext


Code Block
public File getMyDoc()
public ContentTypeString getMyDocContentType()
public String getMyDocFileName()