You have to decide whether you want your application to be in the ROOT webapp (replacing the default) or in a separate webapp. You want either one of the following:
C:\tomcat 4.1\webapps\ROOT\ for the .JSP files C:\tomcat 4.1\webapps\ROOT\WEB-INF for the .TLD and .XML files C:\tomcat 4.1\webapps\ROOT\WEB-INF\classes\com\wrox\ch10 for the .java and .class files. or C:\tomcat 4.1\webapps\beginjsp_ch10 for the .JSP files C:\tomcat 4.1\webapps\beginjsp_ch10\WEB-INF for the .TLD and .XML files C:\tomcat 4.1\webapps\beginjsp_ch10\WEB-INF\classes\com\wrox\ch10 for the .java and .class files. In other words, new webapps go directly into $CATALINA_HOME\webapps, *not* into $CATALINA_HOME\webapps\ROOT. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -----Original Message----- From: Stan Williams [mailto:[EMAIL PROTECTED]] Sent: Friday, February 14, 2003 1:15 PM To: [EMAIL PROTECTED] Subject: Problem with using Tomcat and web.xml I am using Tomcat 4.1 and have the following problem: One JSP script that uses a WEB.XML file to locate the .TLD file does not seem to work The message is included ai the attachments along with all of my code ( samples from the Beginning JSP Web Development book from Wrox press). I am running the script ScriptingVariables4.JSP. The paths I am using are follows: C:\tomcat 4.1\webapps\ROOT\beginjsp_ch10 for the .JSP files C:\tomcat 4.1\webapps\ROOT\beginjsp_ch10\WEB-INF for the .TLD and .XML files C:\tomcat 4.1\webapps\ROOT\WEB-INF\classes\com\wrox\ch10 for the .java and .class files. The paths are preserved in the attached zip file. It would appear that I just don't have the web.xml file in the correct place, or the file is not formatted correctly.. I did try adding the information to the web.xml file in the C:\tomcat 4.1\webapps\ROOT\WEB-INF location, but that seems to break tomcat. Can you please help me on this. Thanks Stan Williams Phone: 2-2615 801-240-2615 800-453-3860 ex 22615 Address: 50 East North Temple Room, Dept: ICS, Room: 1912 Salt Lake City UT 84150 ------------------------------------------------------------------------ ------ This message may contain confidential information, and is intended only for the use of the individual(s) to whom it is addressed. ======================================================================== ====== --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]