dbcfxgo web.xml
org.richfaces.SKIN
blueSky
com.prime.facestrace.DISABLE_TRACE
false
Comma separated list of URIs of (additional) faces config files.
(e.g. /WEB-INF/my-config.xml)
See JSF 1.0 PRD2, 10.3.2
Attention: You may not put /WEB-INF/faces-config.xml in here.
onload-config
/WEB-INF/conf/onload-config.xml
Comma separated list of URIs of (additional) faces config files.
(e.g. /WEB-INF/my-config.xml)
See JSF 1.0 PRD2, 10.3.2
Attention: You may not put /WEB-INF/faces-config.xml in here.
javax.faces.CONFIG_FILES
/WEB-INF/faces/faces-config.xml,/WEB-INF/faces/navigation-rules.xml,/WEB-INF/faces/managed-bean.xml
State saving method: "client" or "server" (= default)
See JSF Specification 2.5.3
javax.faces.STATE_SAVING_METHOD
client
Only applicable if state saving method is "server" (= default).
Defines the amount (default = 20) of the latest views are stored in session.
org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION
20
Only applicable if state saving method is "server" (= default).
If true (default) the state will be serialized to a byte stream before it
is written to the session.
If false the state will not be serialized to a byte stream.
org.apache.myfaces.SERIALIZE_STATE_IN_SESSION
true
Only applicable if state saving method is "server" (= default) and if
org.apache.myfaces.SERIALIZE_STATE_IN_SESSION is true (= default)
If true (default) the serialized state will be compressed before it
is written to the session. If false the state will not be compressed.
org.apache.myfaces.COMPRESS_STATE_IN_SESSION
true
This parameter tells MyFaces if javascript code should be allowed in the
rendered HTML output.
If javascript is allowed, command_link anchors will have javascript code
that submits the corresponding form.
If javascript is not allowed, the state saving info and nested parameters
will be added as url parameters.
Default: "true"
org.apache.myfaces.ALLOW_JAVASCRIPT
true
org.apache.myfaces.DETECT_JAVASCRIPT
false
If true, rendered HTML code will be formatted, so that it is "human readable".
i.e. additional line separators and whitespace will be written, that do not
influence the HTML code.
Default: "true"
org.apache.myfaces.PRETTY_HTML
true
If true, a javascript function will be rendered that is able to restore the
former vertical scroll on every request. Convenient feature if you have pages
with long lists and you do not want the browser page to always jump to the top
if you trigger a link or button action that stays on the same page.
Default: "false"
org.apache.myfaces.AUTO_SCROLL
true
Used for encrypting view state. Only relevant for client side
state saving. See MyFaces wiki/web site documentation for instructions
on how to configure an application for diffenent encryption strengths.
org.apache.myfaces.SECRET
NzY1NDMyMTA=
Validate managed beans, navigation rules and ensure that forms are not nested.
org.apache.myfaces.VALIDATE
true
A class implementing the
org.apache.myfaces.shared.renderkit.html.util.AddResource
interface. It is responsible to
place scripts and css on the right position in your HTML document.
Default: "org.apache.myfaces.shared.renderkit.html.util.DefaultAddResource"
Follow the description on the MyFaces-Wiki-Performance page to enable
StreamingAddResource instead of DefaultAddResource if you want to
gain performance.
org.apache.myfaces.ADD_RESOURCE_CLASS
org.apache.myfaces.renderkit.html.util.DefaultAddResource
A very common problem in configuring MyFaces-web-applications
is that the Extensions-Filter is not configured at all
or improperly configured. This parameter will check for a properly
configured Extensions-Filter if it is needed by the web-app.
In most cases this check will work just fine, there might be cases
where an internal forward will bypass the Extensions-Filter and the check
will not work. If this is the case, you can disable the check by setting
this parameter to false.
org.apache.myfaces.CHECK_EXTENSIONS_FILTER
true
Tiles configuration
definition files and a listener need to be defined.
the listener will initialize JspTilesViewHandlerImpl with tiles definitions.
tiles-definitions
/WEB-INF/tiles.xml
SessionFilter
it.valueteam.gnpgo.web.filter.SecurityFilter
SessionFilter
*.jsf
SessionFilter
*.jsp
it.valueteam.gnpgo.web.listener.DbcfxGoContextListener
it.valueteam.gnpgo.web.listener.DbcfxGoSessionListener
extensionsFilter
org.apache.myfaces.webapp.filter.ExtensionsFilter
Set the size limit for uploaded files.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB
uploadMaxFileSize
100m
Set the threshold size - files
below this limit are stored in memory, files above
this limit are stored on disk.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB
uploadThresholdSize
100k
RichFaces Filter
richfaces
org.ajax4jsf.Filter
richfaces
Faces Servlet
REQUEST
FORWARD
INCLUDE
extensionsFilter
*.jsf
extensionsFilter
/faces/*
Faces Servlet
javax.faces.webapp.FacesServlet
1
SourceCodeServlet
org.apache.myfaces.shared_tomahawk.util.servlet.SourceCodeServlet
Faces Servlet
*.jsf
SourceCodeServlet
*.source
no_access
*.jsp
*.jsf
CONFIDENTIAL
java.lang.Throwable
/error.jsp
index.jsp
index.html