I am using Eclipse and Tomcat. Everytime I create a servlet and run it through my server I get a 404 error - which I then restart and then it works. I have to do this quite often.
Does anyone know why I must restart my server so often?
Bauke Scholtz wrote:Changes in web.xml simply require a server restart.
Correction: a context restart. For containers (like Tomcat) that support it, you can just restart the context without having to restart the whole server.