Is there any way i can call the a javascript function from my java class.
i am using JDK 1.5 . In 1.6 i think there is a way like script engine. But i could not find out same in 1.5.
OK. Why do we use such a thing? Sometime back somebody said we use javascript for writing servers, and i was wondering how javascript is executed in such a case for i thought the only way javascript can be put to use is to be interpreted by a browser.