Can we send some data from the java class to html .
My need is I have to take datas from the database about a student & provide a function to get a printout of that .
I have made the whole program ( like insert datas of student & some other functionality ) in Swing . I am able to display datas of a student on a JFrame & able to provide a button that have printing funtionality . But the problem is I am not getting good GUI ( what i want ) . Thats why I am now thinking to transfer all the datas to HTML where GUI control is very easy ....