title: How do I throw a 404 error from within a java servlet?
body: <p>How do I throw a 404 error from within a java servlet? My web.xml already specifies what page to show when there is a 404, how do I throw a 404 from within a servlet?</p>