This isn't really a Struts problem. Your database field should be declared some sort of binary data type like RAW in Oracle. Java has a BLOB object that abstracts access to that type. FormFile has methods to get the file data. You should be able to put the pieces together.