This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Calling javascript from java" Watch "Calling javascript from java" New topic
Author

Calling javascript from java

Mary Taylor
Ranch Hand

Joined: Sep 11, 2000
Posts: 319
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.
Thanks.
[ January 14, 2004: Message edited by: Betty Schwartz ]
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12756
    
    5
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.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Calling javascript from java
 
Similar Threads
can we call a javaclass from a javascript function?
accessing java class from javascript
calling java class file from javascript
BigDecimal in JavaScript
Call javascript from Java