用tomcat写Servlet的时候,每次修改都要重新启动服务器,挺麻烦的。
修改/conf/context.xml文件
给context加如属性 reloadable="true"
如:
<Context reloadable="true" >
服务器提示
INFO: Reloading Context with name [/TestServlet] has started
就说明OK了!
用tomcat写Servlet的时候,每次修改都要重新启动服务器,挺麻烦的。
修改/conf/context.xml文件
给context加如属性 reloadable="true"
如:
<Context reloadable="true" >
服务器提示
INFO: Reloading Context with name [/TestServlet] has started
1万+
5808
6万+

被折叠的 条评论
为什么被折叠?
