> From: Mark Thomas [mailto:[EMAIL PROTECTED] > Subject: Re: TomCat Does not recognize my servelt > > As per the servlet spec, your class *must* be in a package.
Actually, there's no such requirement in the servlet spec, but there is a restriction in the JSP spec (section 11.2) that precludes use of the unnamed package (although that doesn't apply in the OP's case). This is due to a change in the Java language as of JDK 1.4, which prohibits imports from the unnamed package. Even so, it's not a good idea to use packageless classes, regardless of whether or not you can. - 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 start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]