It's not a secret anymore!*
The moose likes Java in General and the fly likes eval(scriptFile):  The script has a constructor 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 "eval(scriptFile):  The script has a constructor" Watch "eval(scriptFile):  The script has a constructor" New topic
Author

eval(scriptFile): The script has a constructor

Rooks Forgenal
Ranch Hand

Joined: Jun 05, 2009
Posts: 82
Does the eval in ScriptEngineManager allow the passing of arguements for script constructors?
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

What scripting language do you intend to use? Can you give an example of what you mean by a "script constructor"?


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Rooks Forgenal
Ranch Hand

Joined: Jun 05, 2009
Posts: 82
Ruby.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: eval(scriptFile): The script has a constructor
 
Similar Threads
Execute JavaScript function present in HTML fragment loaded using AJAX
Accessing javascript array inside a div.
DIV containing a script
Java Script in AJAX response
Why to use eval function inside Javascript