Question: tomcat problem
error like requested(rootdirectory/urlpattern) resources are not available getting while running servlet on tomcatserver..
Actually server is unable to find the requested servlet. It seems that either you haven't do the servlet mapping or you haven't specified the correct url.
Put your servlet inside the classes folder. Do the servlet mapping inside web.xml. Compile your servlet. Then restart your tomcat server and run the servlet using the following url.
For more information, visit the following url: