guyz i am preparing for scwcd. i installed apache tomcat5 for practice. i did a sample servlet program and an xml mapping but i was not sure where the container is expecting my map nor my servlet file to be. i am getting 404 error. can u please tell me how to start on with apache and where to set classpath and so on. thanks guyz for your help .
First check for ur log file for the error if it gives error abt compatibility package then installCompat zip file that will contain the following list, which are needed when running on J2SE 1.4: * jmx.jar (Java Management Extensions API 1.2 or later) * xercesImpl.jar (Xerces XML Parser, version 2.6.2 or later)
In class path add new System variable as CATALINA_HOME c:\java\tomcat 5.5.4
I hope this will solve ur problem
Joined: Jan 21, 2005
guyz my dir struct is tomcat\webapps\ch1\WEB-INF\classes. I have my xml file in WEB-INF and servlet file in classes. This does not work, but the tomcat\webapps\servlet-example\WEB-INF\classes which came with tomcat works perfecty fine. I wanted to know if there is any class path that i should set apart for tomcat home.any help will be gr8. thanks