Why am I not able to view the changes made to a jsp file without restarting JBoss server?

I’m using jboss-eap-6.2 and Netbeans 8.0.2 for my development activity and wanted my web application to reflect the changes that have been made to the JSP file without having to restart the JBoss server.

I added the following tag to my standalone.xml file:

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

under this tag:

<subsystem xmlns="urn:jboss:domain:web:1.5" default-virtual-server="default-host" native="false">

I have also added the following snippet in my web.xml

<servlet>
  <servlet-name>jsp</servlet-name>
  <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
  <init-param>
     <param-name>checkInterval</param-name>
     <param-value>1</param-value>
  </init-param>
</servlet>

I cleared the tmp folder and restarted the JBoss server but still I do not see the changes getting reflected. I went through some of the questions on the same topic on stackoverflow and these are the changes that I got from the answers to such question. Appreciate any kind of help on this.


Source: jsp

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.