You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Taru Karttunen <ta...@taruti.net> on 2009/09/01 08:22:16 UTC

File uploads

Hello

How can I handle a form with a file upload with Velocity? I'm
processing other fields with ParameterParser, but cannot find 
a way to handle uploads with it.

- Taru Karttunen


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


Re: File uploads

Posted by Thomas Vandahl <th...@tewisoft.de>.
Taru Karttunen wrote:
> How can I handle a form with a file upload with Velocity? I'm
> processing other fields with ParameterParser, but cannot find 
> a way to handle uploads with it.

If you have access to the ServletRequest, commons-fileupload is your friend.


Bye, Thomas.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org