title: 404 Error when trying to send param through anchor tag to servlet
body: <p>I am attempting to send a parameter through my anchor tag on my jsp to one of my servlets. In doing so I receive a 404 error. I have given the exact syntax of how I wrote my anchor tag. The name of the servlet matches the servlet url in the web.xml, so that is not the issue. My servlet has the following code in it to receive the param as well. Under my doPost i have the following string statement. Can someone please help!</p>
  
  <pre><code>message /AcctAuthServlet
  description The requested resource is not available
  
  &lt;li&gt;&lt;a href="/AcctAuthServlet?action=logout"&gt;&lt;span class="glyphicon glyphicon-off"&gt;&lt;/span&gt; Logout&lt;/a&gt;&lt;/li&gt;
  
  String action = request.getParameter("action");
  </code></pre>