Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Call a JacaScript function from Java Bean

 
Rudradutt Joshi
Ranch Hand
Posts: 45
Fedora Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for giving your time,

I need to call a JavaScript Function from my java Bean, and JS function will return some value. Please any body can give me some IDEA.
 
Charles Lyons
Author
Ranch Hand
Posts: 836
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java 6 has built-in support for JavaScript; for example, see Sun's Java Scripting Programmer's Guide. This is in fact just the Rhino engine bundled in with the JRE, so on earlier versions of the platform you can just download and use that library directly.
 
Rudradutt Joshi
Ranch Hand
Posts: 45
Fedora Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your Help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic