Results 1 to 1 of 1
- 12-12-2016, 10:18 AM #1
Member
- Join Date
- Dec 2016
- Posts
- 1
- Rep Power
- 0
richfaces example, why jsp and jsf mix?
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?
Similar Threads
-
JSF richfaces Calendar monthly is improper
By rahulpatle in forum New To JavaReplies: 0Last Post: 02-06-2013, 12:26 PM -
jsf richfaces rich calendar
By murali23krishna in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 05-20-2011, 02:16 PM -
Error when clicking a menu item JSF + Richfaces
By pepelegal in forum JavaServer Faces (JSF)Replies: 0Last Post: 03-25-2011, 12:03 AM -
progect JSF problem tag richFaces
By spyke84 in forum JavaServer Faces (JSF)Replies: 0Last Post: 08-19-2010, 12:58 PM -
richfaces InplaceSelect: valueChangeListener does not work
By qrahman7 in forum JavaServer Faces (JSF)Replies: 0Last Post: 07-15-2009, 11:50 PM
Bookmarks