Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 81057 invoked from network); 30 Mar 2004 14:29:35 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 30 Mar 2004 14:29:35 -0000 Received: (qmail 51155 invoked by uid 500); 30 Mar 2004 14:29:27 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 50825 invoked by uid 500); 30 Mar 2004 14:29:25 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 50801 invoked from network); 30 Mar 2004 14:29:25 -0000 Received: from unknown (HELO grouse.mail.pas.earthlink.net) (207.217.120.116) by daedalus.apache.org with SMTP; 30 Mar 2004 14:29:25 -0000 Received: from h-66-167-118-46.sndacagl.dynamic.covad.net ([66.167.118.46] helo=terrordome.serveftp.org) by grouse.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1B8KF4-0006Kl-00 for commons-user@jakarta.apache.org; Tue, 30 Mar 2004 06:29:26 -0800 Received: from apache.org (localhost [127.0.0.1]) by terrordome.serveftp.org (Postfix) with ESMTP id 7CD4724C3E4 for ; Tue, 30 Mar 2004 06:31:25 -0800 (PST) Message-ID: <406984BD.5040306@apache.org> Date: Tue, 30 Mar 2004 06:31:25 -0800 From: "matthew.hawthorne" User-Agent: Mozilla Thunderbird 0.5 (X11/20040208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jakarta Commons Users List Subject: Re: commons newbie References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Forte, Graham wrote: > I am trying to use the commons 1.0 that I downloaded yesterday. By "commons 1.0", it sounds like you really mean commons-fileupload 1.0. There is no such thing as "downloading commons", only downloading a specific commons project, such as fileupload. > Where can I find the archives of this users list? There are a few places: http://marc.theaimsgroup.com/ http://mail-archive.com http://nagoya.apache.org/eyebrowse/ViewLists search for "commons-user" on these pages and you'll find it. > How do I import the commons jar file? > I had put the jar file in my \webapps\SAMNEW\WEB-INF\lib directory and did the following > <%@page import= "java.util.*,org.apache.commons.commons-fileupload-1.0.jar%> > when I compile I get the following error: > common$jsp.java [4:1] ';' expected > import org.apache.commons.commons-fileupload-1.0.jar;//pointing to the hyphen following > commons. Do I need to rename the jar file. It looks like you might need to read a JSP tutorial. Unless you're using some new JSP features that I'm just not familiar with. Imports are for classes. To make the classes in a jar available, it should be placed on the classpath. Typically that means WEB-INF/lib of your webapp. I don't know anything about fileupload, but I'm sure someone who does will answer your other questions. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org