|
If you can go to the examples and run them in
tomcat then just mirror the hello world program which is a servlet in the
webapps example directory. Use the examples as a reference - that why they are
there. You need to add a context in you server.xml file. Look at the
example context and copy it and change it for your webapp. and then create your
own webapp. Like -- webapps\test\ -- just like webapps\examples --
also copy the web.xml file from example and delete everything referring to any
of the examples except the hello world. You can add all the directories
that example has and utilize them as you mimic the examples. This is a
Great way for a beginner to learn tomcat and servlets. I would learn
servlets first and then go on to JSP. First things first.
-- Pete --
|
- SSL for Stand Alone Tomcat WebServer Vaughn, Matt
- Re: SSL for Stand Alone Tomcat WebServer Filip Hanik
- Newbie Q: How to get a Servlet workiing? Vivienne
- Pete Ehli
