I just want to ask an opinion, which are the best practice to use html between this two option:
1) Use JSP by creating html page there
2) Generate html using Java server side by using
Which one are the best practice?
And if I got some situation like only to generate small line of html, is it better to create JSP page or just generate it using Java
Or there are any better approach?