The page you mention looks fine, however in the code you can find the session id attached to the script, for example
I "solved" the above problem by replacing loadScript with
But working with RichFaces I probably should use loadScript...
where resources folder located relativelly to web-app root?
the page is in
the js is in
I opend a demo page that demonstrate the problem
The good (with include)
the bad (with loadScript)
(this is the only different between them ...)
remember to close the IE each time
the name of the js is: home.js
After some investigation I found that the cause of the problem is the connection between apache and jboss (5.01) using mod_jk (1.2)
The solution is to add JkStripSession On just above JkMount in the configuration file of mod_jk
# Mount your applications