Hello,
1- I am trying to use Tomcat5 for
servlet container to run examples. I
create a directory in webapps directory and put a web.xml inside its WEB-INF
directory.
This configuration of servlet works on Tomcat4 but not on Tomcat5. What is
the difference between two versions?
2- I can only run examples by creating a new context from inside Tomcat5
admin panel. But I can not find where it has written the configuration. (I
search the Tomcat5 directory for any file which contains my contexts'
directory but windows can not find any file). Where does Tomcat5 write
config for new contexts?
I appereciate your help.
Regards,
Mac
---
These are the instructions I follow:
1 Copy the HelloWorldServlet.class file to the directory
c:\tomcat4.0.1\webapps\chapter01\WEB-INF\classes
2 Create a text file named web.xml in the
c:\tomcat4.0.1\webapps\chapter01\WEB-INF directory. Write the following
lines in the file: