File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Calling javascript from java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Calling javascript from java" Watch "Calling javascript from java" New topic

Calling javascript from java

Mary Taylor
Ranch Hand

Joined: Sep 11, 2000
Posts: 327
Is it possible to call javascript from a java class? I've found examples from applets, etc., but not from a regular java class. I did try Google this morning.
[ January 14, 2004: Message edited by: Betty Schwartz ]
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13036
If you mean to call Javascript not in a web page, there is a toolkit called a Bean Scripting Framework that will let your Java call JavaScript and some other scripting languages. Do a Yahoo search.
I agree. Here's the link:
subject: Calling javascript from java
It's not a secret anymore!