I get acquainted with j2html and I try a make table, but have some problems:
main().with(
table(
tr(
td().with(
img().withSrc(imagePath+photo)
)
td().with(
span(name)
),
td().with(
span(String.valueOf(quantity))
)
after img().withSrc(imagePath+photo) I see mistake, but I don't understand what want from me Idea May be you can show how create table with image+name+ some quontity + colspan for several cells