Hello, I apologize if this is not the place to ask, but I couldn't get a satisfying answer from anywhere else so this is kind of my last resort.
Is there any built-in function to get input from a user when using NashornScriptEngine? print() method allows us to utilize both the default OutputStreamWriter (System.out) and any writers that we set using ScriptContext, but how can I make use of the reader which is used by the engine? Thank you, Burak