I working in netbeans 7.6 visual Jsf,
I wanted to get value in javascript body onLoad from session and i did it such "got value in hiddenField from session then by timeout got value in javascript from session ".
Is any better way to get value from session in javascript? and if possible how?