Actually if I could do this with Tomcat or Jetty I'd be happy.
Find the section about the MBean URLDeploymentScanner in the conf/jboss-service.xml file.
It looks fairly well documented and it should be possible to do what you want to do.
The simplest way might be to just change:
Where /my/local/app/dir contains the webapps you want to deploy.
This seems to work for me using JBoss with Tomcat. Thank you very much!
But if I want to place my WebApp in directory called
d:\webapp,how can I do?