[
https://issues.apache.org/struts/browse/WW-1781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40454
]
Rene Gielen commented on WW-1781:
---------------------------------
I'm not sure if people would really take Showcase app as a starting point for
writing production applications, since we have the Blank app.
For the Blank app, the usual turnaround cycle starts with, well, developing
after creating an application from blank template, so devMode=true seems to fit
well here. It is not that easy for unexperienced users to find how to turn on
devMode later, although they would really profit from this. Making your app
production ready should include reading some more docs, as you normally would
like to customise interceptor stacks, switch devMode of and such.
Perhaps we should rather think of giving prominent hints on devMode state in
initialization log output and maybe on the sample JSPs of blank app...
> Default DevMode to false in example applications
> -------------------------------------------------
>
> Key: WW-1781
> URL: https://issues.apache.org/struts/browse/WW-1781
> Project: Struts 2
> Issue Type: Task
> Components: Examples
> Reporter: Ted Husted
> Assigned To: Ted Husted
> Fix For: 2.0.7
>
>
> In both the Showcase and Blank applications, devmode is being set to true. We
> should set it to false so that people do not inadvertently use devmode in
> production applications. Having the setting present is a good idea, so it can
> be easily toggled, but to eliminate confusion, we should ship all
> applications with devmode set to false.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.