NetBeans does the in place deployment, that is generated classes files and XML files are not copied to the tomcat’s web directory instead they used from the project folder.
e.g my project is in Y:\Java\mvc1
All the generated files will be in
Y:\Java\mvc1\build\web