hello,
I have a class that receive a file in a multipart/form-data
here is the significant part of the code
import org.apache.turbine.util.upload.FileItem;
public class RecordMessage extends VelocityAction
{
public void doPerform(RunData data, Context context)
{
Log.debug("-->> RecordMessage.doPerform");
FileItem audioFileItem = data.getParameters()
.getFileItem("recordedMessage");
.....
when i trace the object it is null.
I used a form in an IE to upload the file.
i have a tomcat 4.1.24.Le
i use turbine 2.2.0 and jdk 1.4.1
the code i use was used before un another application without any
problem on a tomcat 4.0.6
if someone has some ideas ?
thanks in advance.
Rapha�l
=====
------------------------------------
| Rapha�l Pi�roni |
| 33+ 223 351 354 |
| mailto:[EMAIL PROTECTED] |
| http://www.dexem.com |
| mailing:[EMAIL PROTECTED] |
------------------------------------
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Yahoo! Mail : http://fr.mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]