blob: c0ca9564fc59c06ae15add6a4dc09ead251b21df [file]
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. The ASF licenses this file to You
# under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License. For additional information regarding
# copyright in this work, please see the NOTICE file in the top level
# directory of this distribution.
# use spring as the object factory
struts.objectFactory=spring
# use the simple theme
struts.ui.theme=simple
# set the struts action extension to 'rol'
struts.action.extension=rol
# dev mode options
struts.devMode=false
struts.configuration.xml.reload=false
struts.i18n.reload=false
# this enables the translation of action="foo!method" to work nicely
struts.enable.DynamicMethodInvocation=true
struts.mapper.action.prefix.enabled=true
# do not include jars for action scanning. This fixes an issue with log4j2 which
# has several classes matching the convention pattern, some of which have optional dependencies.
# Struts will cause NoClassDefFoundErrors when it inspects a class with unresolved dependencies via reflection.
struts.convention.action.includeJars=false
# prevent the damn s:url calls from including undesired query params by default
struts.url.includeParams=none
# this tells struts2 what the special name is for our global resource bundle
# eventually we should remove this when the struts2 migration is mostly complete
# and use the highly preferred way of splitting the resource bundles into
# smaller pieces per package or class
struts.custom.i18n.resources=ApplicationResources
# If you want to allow uploads over 1 billion bytes, then set this higher:
struts.multipart.maxSize=1000000000
# By default, Errors, Field errors and Message aren't copied during chaining
# to copy Action Errors
struts.xwork.chaining.copyErrors=true
struts.xwork.chaining.copyMessages=true