Send large amount of text to servlet via form

后端 未结 2 1939
执笔经年
执笔经年 2021-01-24 10:11

I\'m working on Java Servlet. I have form on my jsp file and I am sending huge amount of text from form to servlet it sends to servlet successfully but, I can\'t get any paramet

2条回答
  •  暖寄归人
    2021-01-24 10:56

    Edit Tomcat's server.xml. In the element, add an attribute maxPostSize and set a larger value (in bytes) to increase the limit. if maxPostSize="0" it means it is unlimited..

提交回复
热议问题