Tomcat in Eclipse: Edit Javascript without redeploying

I am working on a Java application (which runs on Tomcat) using Eclipse WTP. For development I have configured my tomcat server in Eclipse and use the "auto publish" feature.

This works for .java files (compiled files are getting published).

Its also fine for working in jsp. In this case my edited jsp file is just copied to the server directory without redeploying my application.

However it does not work with javascript files. Everytime i change a .js file my application is redeployed and i have to wait a few seconds.

Is there any tomcat option i am missing?

Thanks

Answers


Doubleclick your server in the servers view, click on the tab modules at the lower bound of the servers property window, select your web module from the list, click the edit button, uncheck "auto reloading enabled", click ok, save your settings and restart the server.


Need Your Help

MASM32 Reversing Digits

arrays reverse masm cpu-registers masm32

I am trying to make a very simple program that will list out values in a BYTE named array, then reverse the digits. This is the problem I was given:

Design pattern for assembling disperate data?

java design-patterns

I am designing a system which assembles disperate data in a standard row/column type output.