Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to increase document size in af:inputFile ?

User_UM8AVFeb 12 2020 — edited Feb 23 2020

Hi

I want to increase the size of uploaded documents to more than 3 mega , so I wrote the below code in web.xml but I still get error.

<context-param>
    <param-name>org.apache.myfaces.trinidad.UPLOAD_MAX_MEMORY</param-name>
    <param-value>4520000</param-value>
</context-param>
<session-config>
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 8 2023
Added on Feb 12 2020
11 comments
1,745 views