Hi,
I have downloaded apache.commons.fileupload jar file and commons io jar file. Iam using netbeans. I have placed the jar files in
j2sdk1.4.2_12\jre\lib\ext and in the project properties->Build->Packaging (in netbeans) i have mapped the jar files.
But still i get this error
C:\Documents and Settings\Tanuja\.netbeans\5.0\jakarta-tomcat-5.5.9_base\work\Catalina\localhost\pathfinder1\org\apache\jsp\FileCopy_jsp.java:68: cannot resolve symbol
symbol : class ServletFileUpload
location: class org.apache.jsp.FileCopy_jsp
ServletFileUpload upload = new ServletFileUpload(factory);
^
where did i go wrong? I tried with another solution. I placed the jar files in appliactions \build\web\WEB-INF\lib folder and i mapped this in the project properties. but still i get the same error. what could be the problem?
This is how i have imported in my jsp.
<%@ page import="org.apache.commons.fileupload.servlet.ServletFileUpload"%>
<%@ page import="org.apache.commons.fileupload.disk.DiskFileItemFactory"%>
<%@ page import="org.apache.commons.fileupload.*"%>
Thanks,
Thanuja.