File uploads

View: New views
2 Messages — Rating Filter:   Alert me  

File uploads

by taruti :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
For additional commands, e-mail: user-help@...


Re: File uploads

by Thomas Vandahl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
For additional commands, e-mail: user-help@...