Setting struts.devMode only in struts.xml?
Ute Kaiser <[email protected]> Thu, 29 May 2025 09:20:11 +0000
| Newsgroups | gmane.comp.jakarta.struts.user |
|---|---|
| Message-ID | <trinity-c952de7b-476a-40f6-b8ac-f1956f274264-1748510411104@trinity-msg-rest-webde-webde-live-7d467d96fd-jtmmg> |
I face the issue that I have to change my struts.xml any time I want to deploy from dev environment to test or production environment. Either struts.devMode value=true or false. This might lead to deploying devMode to production by accident. Is there an alternative place to set devMode more flexible? I tried: Eclipse (2024-09) Wildfly33 Server Launch Configuration VM arguments -Dstruts.devMode=true but no effect. Using ant for build. Best regards Ute