title: Intellij IDEA HotSwap with Tomcat works for classes but not for JSP
body: <p>I'm doing a war deployement (not exploded war) in Tomcat7 with IntelliJ IDEA 14.
  My webapp is composed of 2 wars :</p>
  
  <ul>
  <li><em>views.war</em> (Struts classes, JSP)</li>
  <li><em>business.war</em> (Business, persistance and WS) </li>
  </ul>
  
  <p>So my <strong>CATALINA_HOME/webapps</strong> contains :</p>
  
  <ul>
  <li>ROOT/ </li>
  <li><em>views</em>/ </li>
  <li><em>business</em>/</li>
  </ul>
  
  <p>There contents are ok.</p>
  
  <p>And my <em>CATALINA_BASE/work/catalina/localhost...</em> (overrided by IDEA) contains the generated servlets (_jsp.class + sources).</p>
  
  <p>Curiously, if I make a change on a Java class of <em>views</em> and recompile (Ctrl+Maj+F9), my change takes effects immediatly. But if I make change on a JSP, I have to redeploy. Ctrl+Maj+F9 and HotSwap doesn't works.</p>
  
  <p>After making the change in the JSP, I had seen that JSP file is modified in my <strong>CATALINA_HOME/webapps</strong> folder. But the java class (myJsp_jsp.java) in <strong>CATALINA_BASE/work/catalina/localhost...</strong> never changes until I restart the server or redeploy the application.</p>
  
  <p>Any idea ? Thanks</p>