On Mon, 3 Mar 2003, Christian Joelly wrote:

> Hello!
>
> i want to use org.apache.commons.fileupload from within cocoon 1.8 and
> used the example from the fileupload javadoc. unfortunately there is no
> method getFileName() to fetch the clients filename as the given example
> on the fileupload javadoc says. but it works with the method getName();

Fixed. Thanks for the report.

By the way, in future, please prefix your subject line with "[FileUpload]"
and provide a meaningful message subject. Thanks.

--
Martin Cooper


>
> java.lang.Exception: XSP Java Compiler: Compilation failed for _ec0005ma.java
> 394: Method getFileName() not found in interface 
> org.apache.commons.fileupload.FileItem.
> String fileName = fi.getFileName();
>
> the version of org.apache.commons.fileupload is 1.0 beta.
>
> Chris
>
> --
> KNAPP Logistics Automation  http://www.knapp.com
> Ing. Christian J�lly        Tel/FAX: (++43) 316 / 495 1926 / 495 394
> G�nter-Knapp-Stra�e 5-7     A-8075 Hart bei Graz
>
> -- Support your government, give Echelon/Carnivore something to parse --
> AMTAS ATMD ATSC Abdullah Allah  communist CIA DD2-N DISA DoD GRU Gregori
> Irak  Iran KGB  Kurdish LSD  NATO NSTD  Natasha  ORD RTEM  Russia  STRAP
> Saddam Hussein  TSP  Yugoslavia   attack  bank  bomb  classfield  cocain
> compromise defense  democracy  destroy  destruct  detonator  directorate
> elections enforce extasy force  foreign embassy government grass hashish
> heroin   illegal  information   international  military systems  missile
> million dollars   nuclear  policital   pot  power   presidental  project
> restricted data  revolution  rule the world sensitive  smuggle spy steal
> system  takeover  terrorist  top-secret  warmod  warrior-T  weapon  weed
> ------------------------------------------------------------------------
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to