Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 67469

How to display a dynamic list in plain HTML using Spring?

$
0
0

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[];
}

Viewing all articles
Browse latest Browse all 67469

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>