I have a .java file and a .html file. i have to somehow present the data on the .java file to the .html file.

How should i do that?