title: Java Servlet: Send form data by email. (Netbeans)
body: <p>I'm using Netbeans to write a simple program, but I'm a little confused and would like some help. Already made a lot of research but servlets are new to me.</p>
  
  <p>I have an Java web app created, simple website coded in html that must gather information from a form and send it to an specific email. The email is always the same, and will be stored in the submit button in the form.</p>
  
  <p>Everything is fine with the html code, the problem is that once I create the servlet I don't know how to link it to the html code or form in it.</p>
  
  <p>Any help will be good.</p>