-
Generate war with 'mvn clean compile war:war' or 'mvn clean package'.
-
Deploy with Tomcat
-
Assuming Tomcat is hosted on localhost:8080, navigate to http://localhost:8080/tomcat-request-issue/
-
Open the JavaScript console in Developer Tools
-
Submit a small file, observe that a response of "Hello World!" is given in the console
-
Submit a file larger than ~6MB, observe that the request fails
-
Uncomment line 40 in DemoServlet, rebuild the war and redeploy it
-
Retry step 6, observing that a response of "Hello World!" is now given
-
Notifications
You must be signed in to change notification settings - Fork 0
leonatherton/tomcat-request-issue
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Packages 0
No packages published