i have a file upload process for image.
i got this error
final FileUploadField fileUpload = new FileUploadField("fileUpload",new PropertyModel(user1, "photo"));
i think i should change my ProperyModel for images to save database because in my pojo class my object type is byte... When i use this way, i get error... i am thinking if this PropertyModel change, i can fix this problem but i don't know how can i use this PropertyModel for byte type..