[ https://issues.apache.org/jira/browse/WW-5416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart updated WW-5416: ------------------------------ Affects Version/s: examples-1.1 (was: 6.3.0) > Hello World example does not match documentation and returns a 404 > ------------------------------------------------------------------ > > Key: WW-5416 > URL: https://issues.apache.org/jira/browse/WW-5416 > Project: Struts 2 > Issue Type: Bug > Components: Example Applications > Affects Versions: examples-1.1 > Environment: Recreated on the following OS's > * Windows 11 Home Version 23H2 OS Build 22631.3447 > * WSL 2 on an Ubuntu 20.04.6 LTS (focal) > Reporter: Tim Mousaw > Priority: Major > > Using the [struts-examples|https://github.com/tmousaw/struts-examples], > navigate to the helloworld example and execute {{{}mvn jetty:run{}}}. > Navigate to the URL [http://localhost:8080/helloworld/index.action] and you > will get: > h2. HTTP ERROR 404 Not Found > ||URI:|/helloworld/index.action| > ||STATUS:|404| > ||MESSAGE:|Not Found| > ||SERVLET:|default| > ---- > [Powered by Jetty:// 9.4.46.v20220331|https://eclipse.org/jetty] > This appears to be due to {{struts.action.extension}} constant value in > {{{}struts.xml{}}}. Removing this and falling back to the default value in > [https://github.com/apache/struts/blob/master/core/src/main/resources/org/apache/struts2/default.properties#L87] > allows the example to succeed. -- This message was sent by Atlassian Jira (v8.20.10#820010)