Can't access a java servlet
<p>I  have created a java servlet &amp; compiled it. Then I copied .class file in to the classes folder in WEB-INF folder &amp; I updated the web.xml also but when I'm trying to access that using Firefox this error occurs "The requested resource () is not available.". Server is Tomcat7. I'm very new to programing &amp; I don't know how to solve it. I hope your help.
Thanx!</p>

<p>XML</p>

<pre><code>&lt;servlet&gt;

&lt;servlet-name&gt;HelloServlets&lt;/servlet-name&gt;
&lt;servlet-class&gt;HelloServlets&lt;/servlet-class&gt;
 &lt;/servlet&gt;

&lt;servlet-mapping&gt;
&lt;servlet-name&gt;HelloServlets&lt;/servlet-name&gt;
&lt;url-pattern&gt;/servlet/HelloServlets&lt;/url-pattern&gt;
&lt;/servlet-mapping&gt;
</code></pre>
