Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 14378 invoked from network); 4 Jan 2002 22:14:09 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 4 Jan 2002 22:14:09 -0000 Received: (qmail 26709 invoked by uid 97); 4 Jan 2002 22:13:49 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 26672 invoked by uid 97); 4 Jan 2002 22:13:47 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 26657 invoked from network); 4 Jan 2002 22:13:46 -0000 Date: Fri, 4 Jan 2002 14:13:39 -0800 (PST) From: "Craig R. McClanahan" To: Tomcat Users List Subject: Re: 'Vector' class not available in jsp page In-Reply-To: <004301c1956d$20a458e0$0a01a8c0@viaof690> Message-ID: <20020104141153.A16915-100000@icarus.apache.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: localhost 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Fri, 4 Jan 2002, Eric Hansen wrote: > Date: Fri, 04 Jan 2002 14:14:06 -0800 > From: Eric Hansen > Reply-To: Tomcat Users List > To: Tomcat Users List > Subject: 'Vector' class not available in jsp page > > In Tomcat 3.2.3, I was able to use (in a JSP Page) the Vector class > from the java.util package **without** explicitly importing it using > <% @page import="java.util.Vector"%> > > When I'm testing using Tomcat 3.3, I get a ERROR 500 - the Vector > class is not available. When I include the above import declaration, > it works fine... but I really don't want to go back and add that > declaration to all my jsp pages if there is a way to avoid it. > > I don't remember having to make any specific entries in the Tomcat > 3.2.3 setup to enable certain Java packages. Any ideas? > Tomcat 3.2's JSP code generator was broken -- it emitted more imports (including java.util.*) than it should have. The only legal default imports (according to the spec): java.lang.* javax.servlet.* javax.servlet.http.* javax.servlet.jsp.* > Thanks > Eric Hansen > Craig -- To unsubscribe: For additional commands: Troubles with the list: