Rectangle 27 0

java spring 3 auto form field validation with file upload?

Store {

    /* Your other fields */

    private  MultipartFile file;

    public MultipartFile getFile() {
        return file;

    public void setFile(MultipartFile file) {
        this.file= file;

. You also should add MultipartFile to form class (Store) if it is part of it.

Thank you so much!!! Where can I find the possible different permutations of method signatures and the types of parameters and their order if enforced for the annotated controller methods? I couldn't find details in the documentation. Thank you again so much!!!