|
Re: Class File Editor -Source Not Found [message #782874 is a reply to message #782594] |
Tue, 24 January 2012 16:20 |
|
On 23-Jan-12 19:30, hannah anciano wrote:
> hi!need some help here..wonder if you could help me.. my problem is that
> i imported packages like this:
> //
> import java.sql.SQLException;
> import java.util.Iterator;
> import java.util.List;
> import java.io.File;
> import java.io.IOException;
> import java.io.PrintWriter;
>
> import javax.servlet.ServletException;
> import javax.servlet.http.HttpServlet;
> import javax.servlet.http.HttpServletRequest;
> import javax.servlet.http.HttpServletResponse;
>
> import org.apache.commons.fileupload.FileItem; import
> org.apache.commons.fileupload.FileItemFactory;
> import org.apache.commons.fileupload.FileUploadException; import
> org.apache.commons.fileupload.disk.DiskFileItemFactory; import
> org.apache.commons.fileupload.servlet.ServletFileUpload;
> import data.Myconnection;
> import date_time.Server_date_time;
> import func.Database_updatetor_mania;
> import func.Database_updatetor_mania2;
> import func.Helper;
> //
>
> in my uploader.java (uploads xls file and save data to database) and the
> class file editor says that the source for file ServletException.class
> and others cannot be found and i have to change my attached source. I
> downloaded the servlet-api.jar but i don't know exactly where to place
> it in the java directory, and use it in eclipse.
> I'm new at eclipse, :( don't know my way out
> anyways, thanks for reading, hope you'll help
If you have time, skip this article on the relationship between
projects, source code and JAR libraries.
http://www.javahotchocolate.com/tutorials/jar-libraries.html
|
|
|
|
Powered by
FUDForum. Page generated in 0.03387 seconds