You have asked a very open ended and ambiguous question. Where do I start. Its Friday I am already tired. You need to experiment some yourself.
So what have you done? Did you create a jsp page in an existing example application? Jsp pages go in the webapps/myapp/ directory. Or are you creating a servlet--the class file goes in the WEB-INF/classes directory. If it is a servlet then you need to restart server--then try to get to it using browser.
My best advice is RTFM. Tomcat comes with alot of examples of how to structure your webapp directories, how to write an Ant build file and how to deploy your app. You just need to read them. You're willing to read the responses to your post, right, so read the manual .
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.