Charlie,
On 12/16/24 5:02 PM, Charlie DiDonato wrote:
Tomcat 10.1.26 on Windows
I getting a Tomcat error page (HTTP 413 - Payload too large) when trying to
upload a 372 Mb file for parsing and loading in my web app.
Do you have a stack trace to look at?
I have done the following:
Web.xml is modified for my Spring app as below
<servlet>
<servlet-name>dispatcher</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-cl
ass>
<load-on-startup>1</load-on-startup>
<multipart-config>
<max-file-size>1048576000</max-file-size> <!-- 1 GB -->
<max-request-size>1048576000</max-request-size> <!-- 1 GB -->
<file-size-threshold>0</file-size-threshold> <!-- 0 bytes -->
</multipart-config>
</servlet>
Are you sure the "dispatcher" servlet is the one handling the request?
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org