Support Topics Documentation Slack YouTube Blog

File url is not saving in backend

I have done getting the file url and now i need to store that file in backend table.

This is my table where i want to store my image.

public class contact
{
private String name;
private String email;
private String number;
private String userEmail;
private String Image;

public String getImage() {
    return Image;
}

public void setImage(String image) {
    Image = image;
}

public String getUserEmail() {
    return userEmail;
}

public void setUserEmail(String userEmail) {
    this.userEmail = userEmail;
}

public String getName() {
    return name;
}

public void setName(String name) {
    this.name = name;
}

public String getEmail() {
    return email;
}

public void setEmail(String email) {
    this.email = email;
}

public String getNumber() {
    return number;
}

public void setNumber(String number) {
    this.number = number;
}

}

Hi @SIVAKUMAR_REDDY

don’t you forget to add this.Image in setImage method?


public void setImage(String image) {
    this.Image = image;
}

Regards, Vlad