title: Eclipse not compiling .jsp file to _jsp.java and _jsp.class to Catalina
body: <p>I have a file_B.jsp that is quite happily referenced to in the web.xml file</p>
  
  <pre><code>   &lt;action name="File_B" helper-class="name.of.helper.fileHelper"&gt;
         &lt;result name="default"   web-page="/path/to/jsp/directory/file_B.jsp" screen-name="File B" screen-id="file_b" /&gt;
     &lt;/action&gt;
  </code></pre>
  
  <p>And it is safely within C:\Users\myDirectory\workspace\webusr\WebContent\WEB-INF\conf\sub\directory</p>
  
  <p>[Trust me - there are several dozens of other jsp files mapped out this way :-) ]</p>
  
  <p>But come runtime the browser throws up a 404.</p>
  
  <p>I checked in the directories under Catalina and there is no file_B_jsp.java nor file_B_jsp.class.</p>
  
  <p>Now, I know the mistake I made. I did a copy/pasta from file_A.jsp (80% of the code and structure is the same).</p>
  
  <p>I did a simple test and had eclipse make a NewFile.jsp and changed web.xml to</p>
  
  <pre><code>&lt;action name="File_B" helper-class="name.of.helper.fileHelper"&gt;
         &lt;result name="default"   web-page="/path/to/jsp/directory/NewFile.jsp" screen-name="File B" screen-id="file_b" /&gt;
  </code></pre>
  
  <p>and sure enough the browser could find it. And there were a NewFile_jsp.java and NewFile_jsp.class inside Catalina</p>
  
  <p>So I copied the code from the file_B.jsp. Deleted the file_B.jsp, had eclipse make a new file_B.jsp and pasted the code back in. Put web.xml back to pointing to the file_B.jsp. Stopped the server. Cleaned it and started it again.</p>
  
  <p>But still the browser says 404, as there is still no file_B_jsp.java nor file_B_jsp.class.</p>
  
  <p>I absolutely need to have file_B.jsp named "file_B.jsp". The whole system is based on this naming convention (decades old legacy at an electrical power company) </p>
  
  <p>What file inside of eclipse needs to be manually edited? Or can I just make a new Tomcat server on the development machine?</p>