hi,


i would like to try this example:
Java Bytes: JSF & Highcharts (Javascript Chart Library)

but im not sure where to put the javascript code in eclipse, my folder structure looks like this:

Java Code:
/src
./src/ajax
./src/ajax/Series.java
./src/ajax/ChartController.java
./src/com
./src/com/google
./src/com/google/gson/ a lot of gson files ....
./WebContent
./WebContent/WEB-INF
./WebContent/WEB-INF/faces-config.xml
./WebContent/WEB-INF/home.xhtml
./WebContent/WEB-INF/web.xml
./WebContent/WEB-INF/lib
./WebContent/META-INF
./WebContent/META-INF/MANIFEST.MF
./WebContent/index.html

my index.html looks like this:
its a html5 template with the two lines from his jsfiddle post
Java Code:
<!DOCTYPE html>
<html>
<head>
<meta charset="US-ASCII">
<title>Insert title here</title>
</head>
<body>
<script src="http://code.highcharts.com/highcharts.js"></script>
<div id="container" style="width: 100%; height: 300px"></div>
</body>

and why he used:
https://github.com/bchetty/richChart...bapp/index.jsp

which contains:
Java Code:
<?xml version="1.0" encoding="UTF-8"?>
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">

<html>
    <head></head>
    <body>
        <jsp:forward page="/pages/index.jsf" />
    </body>
</html>

isnt jsp old and jsf the current thing?