current position:Home>How to configure the post request size in the tomcat7 plug-in of Maven in idea

How to configure the post request size in the tomcat7 plug-in of Maven in idea

2022-02-02 20:25:06 CSDN Q & A

Write a picture upload function today , When writing to the back end , Sometimes there is no when the uploaded image data is found

img

After Baidu launched a large related blog , Say more yes tomcat In the configuration of post Requested size

img

So I tried local tomcat Configuration properties in , It does work .
But the problem is that the project I'm writing now is running in maven Of tomcat On the plug-in , To configure POM.xml In the document tomcat when , But found it unusable maxPostSize

img


I've been stuck here so far , Seeking solutions




Refer to the answer 1:

Who taught you pom The document defines this , Your project has xml Do you




Refer to the answer 2:

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.primo.wiki/2022/02/202202022025049888.html

Random recommended