This content has been marked as final. Show 2 replies
document.location.href or window.location.href
Can i get the same in ScriptEngine ..??
When i tried
ScriptEngineManager factory = new ScriptEngineManager();
s = (String)engine.eval("var urll = document.location.href; return urll)");
it is giving
Any idea wat am i missing..
If this is not supposed to be happening in an applet, then I would share the thoughts of the other replier.