This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Recompilation of JSP file in  jakarta-tomcat-4.1.29 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "Recompilation of JSP file in  jakarta-tomcat-4.1.29" Watch "Recompilation of JSP file in  jakarta-tomcat-4.1.29" New topic
Author

Recompilation of JSP file in jakarta-tomcat-4.1.29

Srinivas Muppa
Greenhorn

Joined: Nov 03, 2004
Posts: 1
I am facing problem with the recompilation of JSP files in jakarta-tomcat-4.1.29.
As for the jakarta-tomcat-4.1.29 documentation I modified "web.xml" file with the following
<init-param>
<param-name>development</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>checkInterval</param-name>
<param-value>300000</param-value>
</init-param>
<init-param>
<param-name>reloading</param-name>
<param-value>false</param-value>
</init-param>

After modified web.xml,I restarted the server again.
when ever I change JSP file,its recompiling again and create a new class. How to prevent recompilation of JSP files when they are modified.
Please let me know if you have any solution or suggestion for this.

Thanks in advance ..
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 13001
    
    5
I can't understand why you would want to prevent recompilation of a JSP after editing it. If it is not recompiled, you will never see the results of the editing changes.
If you want to save intermediate work, then edit a copy of the JSP outside the Tomcat directories. An ANT task is handy for updating tomcat with JSP and class files in this case.
Bill
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Recompilation of JSP file in jakarta-tomcat-4.1.29
 
It's not a secret anymore!