@@ -0,0 +1,769 @@
+package br.com.caelum.vraptor.musicjungle.converter;%0A%0Aimport java.util.ResourceBundle;%0A%0Aimport javax.servlet.http.HttpServletRequest;%0A%0Aimport br.com.caelum.vraptor.Convert;%0Aimport br.com.caelum.vraptor.Converter;%0Aimport br.com.caelum.vraptor.interceptor.multipart.UploadedFile;%0A%0A/**%0A * VRaptor's file upload converter.%0A *%0A */%0A@Convert(UploadedFile.class)%0Apublic class UploadedFileConverter implements Converter%3CUploadedFile%3E %7B%0A%0A%09private final HttpServletRequest request;%0A%0A%09public UploadedFileConverter(HttpServletRequest request) %7B%0A%09%09this.request = request;%0A%09%7D%0A%0A%09public UploadedFile convert(String value, Class%3C? extends UploadedFile%3E type, ResourceBundle bundle) %7B%0A%09%09Object upload = request.getAttribute(value);%0A%09%09return upload == null ? null : type.cast(upload);%0A%09%7D%0A%7D

Add converter to upload files