Without a servlet, JSP or applet, how do you expect to run this Java class as part of the web application?
Shailendra Suryawanshi
Greenhorn
Joined: May 13, 2008
Posts: 9
posted
0
It's not a web application.
I've a BPM studio which has the ability to call Java classes.
Now I wish to invoke javascript from this Java class, which now I guess is not possible.
Please comment.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35257
7
posted
0
The Rhino library lets you run JavaScript scripts from within regular Java classes. There was an article about that in the JavaRanch Journal last year.