I wrote a very simple servlet and placed it in folder: tomcat\webapps\ROOT\WEB-INF\classes\
I read there is no need to mention such servlet in web.xml. So, I didn't.
Still, I am unable to invoke my simple servlet What am I missing? Please guide me.
Port etc. are correct. I am able to invoke other servlets.
Nope. That's like saying smoking is a good idea "to learn". Bad habit. Don't even start.
You learn nothing by using the Invoker -- you simply get used to doing things in a way that has been demonstrated to be a bad practice. And in doing so, avoid learning how to map servlets the correct way.
By saying, "Good idea - to learn", I meant:
- learnt that there exists (tomcat v18.104.22.168) something called InvokerServlet
- learnt that there exists a way to invoke servlets through such URL
- learnt how bad such practice is (the curiosity made me read the article here and explore more about InvokerServlet at few other places as well)
I noticed, my replies were abstract! Many thanks for your replies!