title: How to run java servlet?
body: <p>I have a servlet. I'm new in java. But i need to run the servlet. It has two methods:</p>
  
  <pre><code>public void doGet (HttpServletRequest request,
                       HttpServletResponse response) {...}
  </code></pre>
  
  <p>and </p>
  
  <pre><code>public void doPost HttpServletRequest request,
                       HttpServletResponse response) {...}
  </code></pre>
  
  <p><strong>What steps i need to do to run the servlet?</strong> (I have tomcat 7 installed, eclipse SE with tomcat plugin, netBeans)</p>