From 1aff95d29ceae5c253a26f5ff0778a1da71da60e Mon Sep 17 00:00:00 2001 From: Ted Nathan Husted Date: Mon, 14 Jan 2008 15:23:36 +0000 Subject: [PATCH] WW-2421 Move devMode true setting from web.xml in REST showcase application to the documentation page. Experience shows that if we set such things in examples, people will monkey them in production applications (and then blame the framework for poor performance). I strongly suggest that we try to make all examples both production-quality and production-ready. git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@611829 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/webapp/WEB-INF/web.xml | 30 ++++++++----------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/apps/rest-showcase/src/main/webapp/WEB-INF/web.xml b/apps/rest-showcase/src/main/webapp/WEB-INF/web.xml index 2a034c21e..6e7e88ce1 100644 --- a/apps/rest-showcase/src/main/webapp/WEB-INF/web.xml +++ b/apps/rest-showcase/src/main/webapp/WEB-INF/web.xml @@ -1,34 +1,30 @@ - - - Struts 2 Rest Example - - - - + + Struts 2 Rest Example + + + + action2 org.apache.struts2.dispatcher.FilterDispatcher - actionPackages - org.apache.struts2.rest.example - - - struts.devMode - true + actionPackages + org.apache.struts2.rest.example - + action2 /* - + index.jsp