I'm trying to make sure that my Servlet works. I have since created a Dynamic Web Project, added some gradle folders and files; added some Twilio references and then attempted to push my project onto the Tomcat local server. I created a Hello World html page just to make sure that my app is in the right place, but the problem that I am having is attempting to get the service or Servlet to propogate upon navigation. I just get a 404 error when I attempt to the url address of the Servlet into the browser. Can you please tell me what I am doing wrong? If you need more details, I can share with you exactly what the code looks like. Thanks!
rrz
Please show us how you mapped your Servlet. You could have mapped your Servlet in your app's web.xml file or with an annotation in your Servlet.
Also, show us the url you are using to try to access your Servlet.
For class Foo, you can invoke the main method by simply doing
Open in new window