I want to display a dynamic list in an HTML table. The HTML should be plain HTML only. How do I bind the variables in spring so as to receive the list in a single scope variable and then iterate it to show the contents?
My spring boot Bean class for MESSAGE LIST.
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MailDiscrepancyInfo {
@JsonProperty("msgs")
private String msgs[];
}