[Fileupload](java newbie):cannot resolve symbol

2003-07-28 Thread john-paul delaney
I had posted the following to the jakarta commons list but maybe it has more to do with Tomcat administration (or my bad programming). Any advice is much appreciated. /j-p. ** Hello List... My plan is to to stream uploaded files directly into a database. This may be a bit ambi

Re: [Fileupload](java newbie):cannot resolve symbol

2003-07-28 Thread john-paul delaney
On Mon, 28 Jul 2003, john-paul delaney wrote: > The compile chokes at the first assignment: > boolean isMultipart = FileUpload.isMultipartContent(req); > > with a cannot resolve symbol on the FileUpload object. > > btw the context log shows the jar being loaded: > 2003-07-28 17:05:43 ContextCon

RE: [Fileupload](java newbie):cannot resolve symbol

2003-07-28 Thread Mike Curwen
51 PM > To: Tomcat Users List > Subject: Re: [Fileupload](java newbie):cannot resolve symbol > > > > On Mon, 28 Jul 2003, john-paul delaney wrote: > > > The compile chokes at the first assignment: > > boolean isMultipart = FileUpload.isMultipartContent(req);

Re: [Fileupload](java newbie):cannot resolve symbol

2003-07-28 Thread John Turner
Build != Run. Tomcat is not involved in the build process, only the run process. When your servlet is running, Tomcat ignores CLASSPATH so you will need to make sure your JAR files are in the appropriate location according to the ClassLoader HOWTO: http://jakarta.apache.org/tomcat/tomcat-4.1-

Re: [Fileupload](java newbie):cannot resolve symbol

2003-07-28 Thread john-paul delaney
Thanks Brian... I had tried removing the package line but the compiler complained the package couldn't be found. Is it overkill to have a package statement and an import statement for the same? In the end I just added the jar to the classpath... but I don't understand why it failed when the ja

Re: [Fileupload](java newbie):cannot resolve symbol

2003-07-28 Thread john-paul delaney
On Mon, 28 Jul 2003, John Turner wrote: > Build != Run. Tomcat is not involved in the build process, only the run > process. When your servlet is running, Tomcat ignores CLASSPATH so you > will need to make sure your JAR files are in the appropriate location > according to the ClassLoader HO

Re: [Fileupload](java newbie):cannot resolve symbol

2003-07-28 Thread John Turner
For user-created classes, it pretty much comes down to three things: Common - This class loader contains additional classes that are made visible to both Tomcat internal classes and to all web applications. Normally, application classes should NOT be placed here. All unpacked classes and resou