This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes Servlet mapping problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet mapping problem" Watch "Servlet mapping problem" New topic

Servlet mapping problem

Em Aiy
Ranch Hand

Joined: May 11, 2006
Posts: 226
I have a servlet to download a file, i had made the web.xml accordingly, but it is not working fine ... it is giving the following error

The web.xml which contains its entries is

please help me out

The difference between <b>failure</b> and <b>success</b> is often being <b>right</b> and being <b>exactly right</b>.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299

You'll need to look at your DownloadReport class to find the problem. Here is a hint:


GenRocket - Experts at Building Test Data
I agree. Here's the link:
subject: Servlet mapping problem
Similar Threads
Getting exception on deployment to Tomcat using JSF
Primefaces taglib with JSF on Tomcat rendering empty pages
getServletContext() gives NullPointerException
Problem running a simple webapplication in struts
404 Exception