> From: Hracek, Petr [mailto:petr.hra...@siemens-enterprise.com] > Subject: RE: Beginner with apache > > Suse gyus are not responsible for this step. > Now it has to be used tomcat-5.5. or distro package from SuSE.
If it's the package from SuSE, then the SuSE guys *are* responsible. I would highly recommend that you use a standard Tomcat downloaded from tomcat.apache.org and avoid the confusion caused by the 3rd-party repackaging. As for your deployment questions, we need to get some terminology straight. You do not deploy servlets, you deploy webapps. The structure of a webapp is defined in the servlet spec, and must be adhered to. The servlet classes for a webapp must be placed in the webapp's directories WEB-INF/lib (if in a jar) or WEB-INF/classes (if not in a jar). The servlet spec is required reading. Each webapp is normally located immediately under the appBase directory of the <Host> defined in conf/server.xml. A webapp may be located outside of Tomcat's directory structure, by placing a <Context> element in conf/Catalina/[host]/[appName].xml with a docBase attribute that points to the location of the webapp. The path attribute is not to be used, and you should not place any <Context> element in conf/server.xml. The ROOT directory is special: it is the default webapp for the <Host>; do not place webapps under ROOT. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org