Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AjaxFileUploadServlet - change default setting #389

Closed
rsoika opened this issue Jun 10, 2018 · 1 comment
Closed

AjaxFileUploadServlet - change default setting #389

rsoika opened this issue Jun 10, 2018 · 1 comment
Milestone

Comments

@rsoika
Copy link
Member

rsoika commented Jun 10, 2018

change default setting to 10 MB filesize
currently setting of 100MB makes no sense

@rsoika rsoika added this to the 4.3.3 milestone Jun 10, 2018
@rsoika
Copy link
Member Author

rsoika commented Jun 10, 2018

Overwrting is possible with the following web.xml setting. - need to be documented

	<!-- Fileupload servlet -->
	<servlet>
		<servlet-name>FileuploadServlet</servlet-name>
		<servlet-class>org.imixs.workflow.faces.fileupload.AjaxFileUploadServlet</servlet-class>
		<load-on-startup>0</load-on-startup>		
		<multipart-config>
	      <location>/tmp</location>
	      <max-file-size>5242880</max-file-size>
	      <max-request-size>5242880</max-request-size>
	      <file-size-threshold>1048576</file-size-threshold>
		</multipart-config>
	</servlet>
	<servlet-mapping>
		<servlet-name>FileuploadServlet</servlet-name>
		<url-pattern>/fileupload/*</url-pattern>
	</servlet-mapping>

@rsoika rsoika modified the milestones: 4.3.3, 4.3.4 Jun 24, 2018
@rsoika rsoika closed this as completed in eed3d35 Jul 13, 2018
bvfalcon pushed a commit to bvfalcon/imixs-workflow that referenced this issue Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant