You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Christian Joelly <ch...@knapp.com> on 2003/03/03 16:54:42 UTC

org.apache.commons.fileupload

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();

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
------------------------------------------------------------------------


Re: org.apache.commons.fileupload

Posted by Martin Cooper <ma...@apache.org>.

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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org