Skip to content

Commit

Permalink
Limit file upload size #1064
Browse files Browse the repository at this point in the history
  • Loading branch information
syntrydy authored and yurem committed Aug 17, 2018
1 parent fe48cb1 commit 51f1494
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions server/src/main/webapp-jetty/WEB-INF/web.xml
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>

<web-app version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<web-app version="3.1"
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd">

<display-name>oxTrust Server</display-name>
Expand Down Expand Up @@ -46,7 +48,10 @@
<param-name>org.richfaces.SKIN</param-name>
<param-value>glassX</param-value>
</context-param>

<context-param>
<param-name>org.richfaces.fileUpload.maxRequestSize</param-name>
<param-value>2000000</param-value>
</context-param>
<!-- Suppress spurious stylesheets -->
<context-param>
<param-name>org.richfaces.CONTROL_SKINNING</param-name>
Expand Down

0 comments on commit 51f1494

Please sign in to comment.