You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Fred Janon <fj...@yahoo.com> on 2006/09/11 11:05:59 UTC
Complete JSF example with file upload and download?
I am looking for a complete example (source code, ant build file, libs,
jsf pages, web.xml...) of a JSF page with file upload to the server,
store in a directory on the server and download.
I am using the upload file example from myFaces, but I have some
trouble building a self contained, independent WAR file and handling
the download part (escaping file names?). I get some weird
errors/warnings with the example of Tomcat, plus some caching issues.
Basically I want a JSF page with an option to upload files on the
server, a list of the files already on the server with a way to delete
or download them from the server onto the client.
Thanks
Fred
Re: Complete JSF example with file upload and download?
Posted by Martin Marinschek <ma...@gmail.com>.
Hmm... but the MyFaces examples has all of this. Did you try to
download the nightly-builds, there should be a full-fledged war-file
of the simple-examples in there?
regards,
Martin
On 9/11/06, Fred Janon <fj...@yahoo.com> wrote:
> I am looking for a complete example (source code, ant build file, libs,
> jsf pages, web.xml...) of a JSF page with file upload to the server,
> store in a directory on the server and download.
>
> I am using the upload file example from myFaces, but I have some
> trouble building a self contained, independent WAR file and handling
> the download part (escaping file names?). I get some weird
> errors/warnings with the example of Tomcat, plus some caching issues.
>
> Basically I want a JSF page with an option to upload files on the
> server, a list of the files already on the server with a way to delete
> or download them from the server onto the client.
>
> Thanks
>
> Fred
>
>
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces