What is the size limit for the field in the form message?

The name is self-explanatory, if you use the form field to publish text of any size, what limits are considered relevant? Memory limits, browser limits, application server limits?

Update:

This is the form method = message. The form field is used to send the file (its contents) to the server. The file is created on the client using the Java applet. An alternative would be to save the file to disk and upload it by entering the file in the form. However, this will leave the files on disk. The database is not a problem here, the file will be saved as a blob.

+4
source share
2 answers

When using enctype="multipart/form-data" size is not limited by the protocol, but by what your server can process (RAM, hard disk space, database) or symcbean indicated that the server is configured for processing.

+9
source

depends on what you are doing with the data, if the text goes in a column in the database that can only process 8000 characters, then, of course, it makes no sense to allow more than

So first you need to decide where the data will go

0
source

Source: https://habr.com/ru/post/1286570/


All Articles