Time for action — modifying the struts.multipart.maxSize property
The struts.properties
file is inside Roller's WEB-INF/classes
folder. If you are using Windows, you can just open and edit the file; but if you're using Linux, remember you need to have "root" privileges to modify this file.
Go to Roller's
WEB-INF/classes
folder and open thestruts.properties
file. Add the following line at the end of this file:struts.multipart.maxSize=104857600.
The following screenshot shows the
struts.properties
file with thestruts.multipart.maxSize
property, in a Linux Ubuntu environment:Save your changes and close the file. You'll need to logout from Roller and restart Tomcat to apply the new size limit.
What just happened?
Now you can upload videos or files up to 100 MB in size. However, don't forget the Max File Size limit in the File Upload Settings section. This setting only allows a maximum size of 8 MB for each uploaded file. Just remember that the setting with the smallest value will determine...