现在打算学习 IDEA 和 JFinal 框架。 不使用 JFinal 教程中的 jetty,使用 tomcat。之前没用过框架。 现在创建了两个类,一个是 config 类,一个是 controller 类。在 controller 类中加入方法: public void index(){ renderText("hello world111111111111111111"); } 配置好 web.xml 后,启动 tomcat,可以在页面上显示出“ hello world111111111111111111 ” 但如果修改了 renderText 中的字符串,页面不会同步更新,必须重启 tomcat 才行。
有没有办法可以不重启 tomcat 而更新页面的设置方法?
注:自动编译已经开启,“ update classes and resources ”之类的设置也已经开启,HTML 页面和 JSP 页面都可以自动更新了。
