I have an old servlet that I need to recompile but cannot because it references
MultipartRequest class. The servlet imports the following packages:
import java.io.*;
import java.sql.*;
import java.util.*;
import javax.servlet.*;
import javax.xml.parsers.*;
import org.xml.sax.*;
import org.w3c.d
I downloaded Tomcat 3.3.2 and extracted the servlet.jar, which should be 2.2-complient, but it doesn't appear to contain MultipartRequest. So, I'm at a lost here. The problem servlet was
indeed compiled over a year ago and has been running since.
Franklin Phan wrote:
I have an old servlet tha
Franklin Phan wrote:
> I have an old servlet that I need to recompile but cannot because it
> references MultipartRequest class.
/
> I nothing about a MultipartRequest class in anyone of the above. I can
> venture a guess that it was a class in the javax.servlet package back in
> the Servlet 2.2
Hello Franklin
I have used the apache and the oreilly multipart successfully.
(Yes, from oreilly site)
Look for the packages containing: (i.e., Google: "apache commons" pkg
and also "oreilly cos" pkg)
import org.apache.commons.fileupload.*;
import com.oreilly.servlet.*;
Note also: RFC1867 (ht
may be
another java class on your box.
From: Franklin Phan <[EMAIL PROTECTED]>
Date: 2005/12/15 Thu PM 06:57:12 EST
To: Tomcat Users List
Subject: Re: MultipartRequest problem
I downloaded Tomcat 3.3.2 and extracted the servlet.jar, which should be 2.2-complient, but it does
Franklin Phan wrote:
I have an old servlet that I need to recompile but cannot because
> it
references MultipartRequest class. The servlet imports the
following packages:
import java.io.*;
import java.sql.*;
import java.util.*;
import javax.servlet.*
You are correct. My coworker confirmed that cos.jar came with his purchase of a servlet book by Jason Hunter, published by O'Reilly. I recall seeing that JAR in one of the libs. I'll try
again with it in the compile path.
Thanks.
Adam Constabaris wrote:
Franklin Phan wrote:
I have an
Is the servlet part of a "package" in your webapp? MultipartRequest may be
another java class on your box.
>
> From: Franklin Phan <[EMAIL PROTECTED]>
> Date: 2005/12/15 Thu PM 06:57:12 EST
> To: Tomcat Users List
> Subject: Re: MultipartRequest problem
>