Maximum Upload File Size

I am using this example as a base for a file upload portlet:

What is the limit for the file size? Is there a way to set it?

There are many related threads on the forum about this, e.g.
this one
. There are probably also examples in other threads of the OutputStream approach mentioned there.

Briefly, there is no option directly in the standard Upload component to restrict the file size, but there are ways to do this and encapsulate the support in a helper class.

See also the reply to
your other post