title: How do I set Tomcat Manager Application User Name and Password for NetBeans?
body: <p>I'm trying to follow a tutorial to make an extremely basic Java web application in NetBeans.</p>
  
  <p>When I try to run it, a dialogue box appears title "Authentication Required".  Inside the dialogue box there the heading "Tomcat Manager Application" and fields for "User Name" and "Password."</p>
  
  <p>Investigating this, I've come to understand that I should edit the file</p>
  
  <pre><code>\TOMCAT_HOME\conf\tomcat-users.xml
  </code></pre>
  
  <p>to include something like:</p>
  
  <pre><code>&lt;user username="user" password="password" roles="standard,manager"/&gt;
  </code></pre>
  
  <p>so I've done that, but it hasn't helped yet.</p>
  
  <p>Can anyone provide some insight?  I'm using Tomcat 6.0.20, NetBeans 6.7.1, and Windows Vista.  I'm using jdk1.7.0, but Java hasn't really entered into this project yet.</p>