[Grails] grails 中修改 *.gsp 在 tomcat 下似乎无效

chenlb 2009-07-19
开发好了 grails 小应用, war出来, 然后解压到 tomcat中.

启动了tomcat, 然后修改 layout 的 gsp, 反应不出来.

是 sitemesh 缓存的原因?
tomcatlee 2009-07-19
写个jsp,然后修改试试?把TOMCAT_HOME/conf/web.xml中的:
<servlet>
        <servlet-name>jsp</servlet-name>
        <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
        <init-param>
            <param-name>fork</param-name>
            <!-- In Tomcat 5.5, leave this value as false unless specify
         compilation via Ant rather than JDT.  If using Ant, then
                 set this to 'true' for production.  [PTC] -->
            <param-value>false</param-value>
        </init-param>
        <init-param>
            <param-name>development</param-name>
            <param-value>true</param-value>
        </init-param>


<param-name>development</param-name>
  <param-value>true</param-value>
这里改为true试试
chenlb 2009-07-20
看了下 conf/web.xml 默认是 development=true

对 gsp 无效吧
Global site tag (gtag.js) - Google Analytics