Many times in development mode when we work then it is desired that as soon as we make any changes in the JSP based applications the the changes should be immediately reflected in the browser. So in this article we will see what configuration changes we need to make in order to tell the “JBoss AS 7.0.1 Final” container to tell the same.

We can deploy a simple JSP based application inside the “/jboss-as-7.0.1.Final/standalone/deployments” directory and then when we make any changes inside the deployed applications JSP page then in order to tell JBoss to reflect those changes in the browser we need to add the following Tag inside the web subsystem tag “<subsystem xmlns=”urn:jboss:domain:web:1.0″ default-virtual-server=”default-host”>” as following:

        <subsystem xmlns="urn:jboss:domain:web:1.0" default-virtual-server="default-host">
                <jsp-configuration development="true"/>
            <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"/>

NOTE: we added the [jsp-configuration development=”true”] tag inside the <configuration>
Middleware Magic Team

If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.