Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

listenerTest servlets error 404  RSS feed

 
Mudra desai
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I m using head first servlets and tsp and eclipse IDE but getting this error. please help!.I am novice to this topic.

My web.xml code



Dog class code



MyServletContextListenerCode



and servlet code


 
Dave Tolls
Ranch Hand
Posts: 2671
30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm guessing that's a 404 error when you enter a URL in your browser?
If so, what URL are you using?
 
Mudra desai
Greenhorn
Posts: 11
 
Dave Tolls
Ranch Hand
Posts: 2671
30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are you running this under?
Tomcat?
 
Mudra desai
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes eclipse IDE
 
Dave Tolls
Ranch Hand
Posts: 2671
30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you sure listenerTest is where it is deploying to?

I don't use the built in Tomcat stuff, so I'm not sure how you tell it where it should be deployed.

Do you get the Tomcat management page when you go to localhost:8080?
Can you login and check your app is up and running and called what you think it is?
 
Mudra desai
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
see I can see tomcat opening at localhost:8080 but this one is not running. And rest I am novice I dint know much abt this stuff.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!