JBOSS 7 热部署

 JBOSS 7 也可以热部署并实时刷新JSP了
在jboss7\standalone\configuration\standalone.xml文件中找到<subsystem xmlns="urn:jboss:domain:web:1.0" default-virtual-server="default-host">做如下配置
<subsystem xmlns="urn:jboss:domain:web:1.0" default-virtual-server="default-host">
            <configuration>
                <jsp-configuration development="true"/>
            </configuration>
            <connector name="http" protocol="HTTP/1.1" socket-binding="http" scheme="http"/>
            <virtual-server name="default-host" enable-welcome-root="true">
                <alias name="localhost"/>
                <alias name="example.com"/>
            </virtual-server>
        </subsystem>


 添加<configuration>
                <jsp-configuration development="true"/>
            </configuration>

你可能感兴趣的:(Web,jsp,jboss,Scheme,domain)