include java file in html code example
Example 1: how to add .java files to html
<!DOCTYPE html>
<html>
<head></head>
<body>
<script lang="java">
// java script here
</script>
</body>
</html>
Example 2: how to add .java files to html
this does not actually work, i tested it out