1.

What Are The Struts2 Configuration Properties That Control File Uploading Process?

Answer»

Following are the Struts2 configuration properties that control file uploading process −

struts.multipart.maxSize − The maximum SIZE (in bytes) of a file to be accepted as a file upload. Default is 250M.

struts.multipart.parser − The LIBRARY used to upload the multipart FORM. By default is JAKARTA.

struts.multipart.saveDir − The location to store the temporary file. By default is javax.servlet.context.tempdir.

Following are the Struts2 configuration properties that control file uploading process −

struts.multipart.maxSize − The maximum size (in bytes) of a file to be accepted as a file upload. Default is 250M.

struts.multipart.parser − The library used to upload the multipart form. By default is jakarta.

struts.multipart.saveDir − The location to store the temporary file. By default is javax.servlet.context.tempdir.



Discussion

No Comment Found