This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

No servlet maps to URL  RSS feed

 
vidhya jay
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have written a sample servlet program.

public class ServletPro extends HttpServlet {
public void init(ServletConfig config) throws ServletException {
super.init(config);

= config.getInitParameter("WPFolder").trim()
 
vidhya jay
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the above mail was not complete.

strName = config.getInitParameter("Name1");

I have also initialised the variables in servlets.properties File and i am deploying it in Domino Web Server.

I am getting the following Error :

Servlet Status Code: 404

Servlet Status Message: No servlet maps to URL

What could be the reason for the above error. Kindly Help.


Regards,
Vidhya.J
 
Vijay Sharma
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vidhya,
Check your Web.xml file,That is your configuration file of servlet.I think you have missed your servlet Mapping tag there in ur web.xml file.So just check might be that is the problem.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!