0
I’m working on an application Java Web, using the server Apache Tomcat and I need to monitor, or "listen" to a directory on the server. Asynchronously, and permanently. Because when a file is created in this directory, I need to examine and move it to the correct directory.
I even managed to use the Watch Service API, but I was able to work only for a local java application (jar).
Is there a possibility of using for web? Or is there any other way more effective?
I do not know your case but I am having problems when I start the watch I need to make changes to the look and this does not happen even my application does not close after active. I’m looking for a solution but without success.
– DevAgil
@Devagil can post better details of the problem or the same code?
– Erico Souza
Follow the link of my question http://answall.com/questions/116281/directmonitoring%C3%B3rio-do-the-stop-system-to-respond%C3%A7%C3%B5es
– DevAgil