There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-2cd6fbd2-ab1c-4d66-a07e-cb797294ff3f XWIKI-23485 Reopened

Get rid of special jetty-ee*-web.xml files

 
View issue   ยท   Add comment
 

1 update

 
cid:jira-generated-image-avatar-9dfb8749-c762-40f7-af9b-3e54c84fd727 Changes by Thomas Mortagne on 08/Sep/25 15:38
 
Description: We have custom configuration file for jetty in the WAR to set the maxFormContentSiz and maxFormKeys properties. It's quite annoying since we have to provide a different file for each version of jakarta ee.

But according to the [documentation|https://stage.jetty.org/docs/jetty/12.1/programming-guide/security/configuring-form-size.html], those two properties can also be configured in a much more generic way in the web.xml, which sounds a lot better...


Another generic alternative would be to set that programmatically in Java, but then the question is should this remain configurable, in which case we need to discuss where that configuration should be indicated.