hi folks,
i created a
servlet and deployed in
tomcat. when i do like this:
http://localhost:8080/myproject/servlet/Try, gives me the following error
i have a directory structure like this
i also checked a server.xml file and delcared myproject as servletcontext in that file in conf folder.
if i put Try.class in exmpales folder that's created when tomcat is installed, access like this
http://localhost:8080/examples/servlet/Try, works fine.
but why does not work while putting it in myproject? can someone explain me.
thanks.