You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Raphaël Piéroni <ra...@yahoo.fr> on 2003/08/05 11:48:58 UTC
[CACTUS test] Upload a file in form-data
hello,
I try to upload a file to my cactifyed webapp instance.
all was working fine while i use httpunit from cactus tests to reach
the
cactifyed deployed webapp.
but now i want to upload a file, and some parameters.
but i can not.
i have tried the method proposed in the httpunit unittests for
uploading a file as an exemple - but i can only upload the file and not
the other parameters. even if i write the parameters in the url.
i have tried the cactus faq method using the HTTPClient from
http://www.innovation.ch/java/HTTPClient/
if someone has a working example ?
also : with httpunit : i can not first retrieve the form as i do not
use html. my action getting the uploaded file is called from a voice browser.
=====
------------------------------------
| Raphaël Piéroni |
| 33+ 223 351 354 |
| mailto:rpieroni@dexem.com |
| http://www.dexem.com |
| mailing:raphael_mailing@yahoo.fr |
------------------------------------
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com