Yoav, So use to doing imports that I didn't think (key words here) about Tomcat making the servlets available from a jar. Was thinking that it would have to be imported to be used. Learn something new each day.
Thanks Wonder if the manifest or index of the jar is not correct? That could cause problems. Doug ----- Original Message ----- From: "Shapira, Yoav" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, May 27, 2004 1:51 PM Subject: RE: n00b cannot get jar files to work. Hi, >I would except the machine I am working on is an amd64 Opteron processor >and I >doubt that the binaries would work. Gentoo built tomcat from the 5.0.18 >source and that what I am working with. Why do you doubt they'd work? I'd give them a shot if I were you -- after all, that IS on of the main points of Java ;) >Any way to confirm that tomcat's classpath actually contains the jar file? Displaying the runtime classpath of a webapp can be a bit tricky. It's NOT System.getProperty("java.class.path"). The classloader how-to document that ships with tomcat descibres the classpath and loading order. You can configure the logging system to tell you what jars it's deploying on startup. >Trying to learn something here. From what I am reading, I can create >several servlets, place them in a jar and put this jar in WEB-INF/lib . >Then these servlets are available in my context? Just add mappings! > >That is what I am reading from this thread. > >My current understanding is different than this. Not just mappings, but also <servlet> elements. But yes, of course, the rest is correct. What was your understanding?? Yoav This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]