I'm using seam-registration as starter, modify on one of the .jspx as follows :
<?xml version="1.0"?> <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:s="http://jboss.com/products/seam/taglib" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns="http://www.w3.org/1999/xhtml" version="2.0"> <jsp:output doctype-root-element="html" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/> <jsp:directive.page contentType="text/html"/> <html> <body> <f:view> <table> <tr> <td width="100%""> <br/>File to upload: <h:form enctype="multipart/form-data"> <s:fileUpload data="#{admin.uploadedFile}"/> </h:form> </td> </tr> </table> </f:view> </body> </html> </jsp:root>