diff --git a/apps/blank/src/main/resources/struts.properties b/apps/blank/src/main/resources/struts.properties index da1fcc77f..8c29875f6 100644 --- a/apps/blank/src/main/resources/struts.properties +++ b/apps/blank/src/main/resources/struts.properties @@ -1,2 +1,2 @@ -struts.objectFactory = spring struts.devMode = true +struts.enable.DynamicMethodInvocation = false diff --git a/apps/mailreader/src/main/webapp/pages/tour.html b/apps/mailreader/src/main/webapp/pages/tour.html index a56a2d2df..abc7dacf9 100644 --- a/apps/mailreader/src/main/webapp/pages/tour.html +++ b/apps/mailreader/src/main/webapp/pages/tour.html @@ -23,7 +23,6 @@ Of course, the full source code to the MailReader is included in the distribution. -
@@ -216,8 +215,20 @@
- Among other things, - the web.xml specifies the "Welcome File List" for an application. + You might note taht the web.xml configuration does not specify which file extension + to use with actions. + The default extension for Struts 2 is ".action", + but the extension can be changed in the struts.properties file. + For compatability with prior releases, the MailReader uses a .do extension for actions. +
+ +struts.action.extension = do
++ The web.xml does specify a "Welcome File List" for the application. When a web address refers to a directory rather than an individual file, the container consults the Welcome File List for the name of a page to open by default. @@ -251,6 +262,7 @@ page to a certain action mapping.
+