and when I click http://localhost:8080/myWebApp/simpleexample I get an error called :
i tried copy pasting the SimpleExampleServlet.java in tomcat/webapps/myWebApp folder and still keep getting errors. What is it that I did that is wrong? I clearly followed the steps listed.
Thank you very much if you can help me :D
I was following the same tutorial, and got the 404 error as well.The Apache logs showed where the problem was. You need to edit the web.xml file, and remove these lines:<servlet-mapping><servlet-name>graph</servlet-name><url-pattern>/graph</url-pattern></servlet-mapping>After removing them, the example worked fine for me.Rodrigo