Database server and public website communication
<p>So, i'm getting slightly familiar with html, css and frameworks in general and i have a fair understanding of Java. However, i can only see how you can make inbuilt functions and computations with Javascript that you add to your html file. But i don't understand how it works with say a Java program on your computer that the website would fetch data and information from. Can anyone explain that? I couldn't find any good answers on the internet.</p>

<p>Say i want to compute the value 2+3 with Java on a server and then fetch that value and display it on the website. How would i do that?</p>