If you download NetBeans for Java EE, you may also install Apache Tomcat. It is available in the Services tab under Servers.
If you need more control over Tomcat, you can download a ZIP file, unzip it and goto NetBeans -> Services -> right click on Servers, Add Server -> Apache Tomcat or TomEE, select where you unzipped Tomcat and set some username and password.
And you're done. Now you can start the server and create a web application which will run on this server.