Executing Javascript in Java code
you need follwing libraries to use javascript code in java. 1. Apache BSF : http://jakarta.apache.org/bsf/ 2. Mozilla Rhino : http://www.mozilla.org/rhino/ Sample Code:
you need follwing libraries to use javascript code in java. 1. Apache BSF : http://jakarta.apache.org/bsf/ 2. Mozilla Rhino : http://www.mozilla.org/rhino/ Sample Code: