Details
Description
When something is specified incorrectly, usually in
struts-config.xml or invocation of struts methods,
the result is nothing! No exception, no log entry.
Among the people I work with and from many forum posts
it seems like this is a common source of frustration
for struts developers. Some specific examples:
- If the ActionForm name is not defined in struts-config, silence
- If the ActionForward string is not found, silence
- If no app.properties found, pretty close to silence
- if you say html:text indexed="yes" (should be "true"), silence
(note, the documentation implies it should be "yes")
(many tag errors just result in silence) - If the ActionError type is not found, silence
Most of these should cause exceptions and/or log entries.
Attachments
Attachments
Issue Links
- depends upon
-
STR-1870 Tiles1 plugin should fail-fast when loaded twice
- Resolved
-
STR-3073 Tiles2 plugin should fail-fast when loaded twice
- Resolved
-
STR-3094 Emit error to log when input forward does not exist
- Resolved
- incorporates
-
STR-1819 Warn if a form is not declared but used by an action
- Resolved
-
STR-2904 Validator plugin should fail-fast when loaded twice
- Resolved
- is depended upon by
-
STR-786 Make error messages more specific (omnibus issue)
- Reopened