I am trying to develop a Java Server which when accessed from a browser sends HTML
and JavaScript
code.
I want to create buttons on the web page which retrieve information from the back-end Java Server when clicked (such as displaying a picture or playing a video),
But I have no clue how JavaScript
and Java
will interact with each other.