Lukasz Lenart created WW-5808:
---------------------------------

             Summary: Struts Boot: cover 404/405 error pages and an 
unresolvable bind address in tests
                 Key: WW-5808
                 URL: https://issues.apache.org/jira/browse/WW-5808
             Project: Struts 2
          Issue Type: Task
          Components: Core
            Reporter: Lukasz Lenart
             Fix For: 7.6.0


Follow-up to [WW-5791|https://issues.apache.org/jira/browse/WW-5791].

Two behaviours of {{StrutsBootServer}} have no test:
* the error page for a 404 (unknown action) and a 405 ({{httpMethods(...)}} 
restriction) carries no stack trace and no Tomcat version — today only the 500 
page is checked;
* {{struts.boot.address}} set to an address that cannot be resolved fails 
startup with a {{ConfigurationException}} naming the address, and leaves no 
Tomcat base directory behind.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to