[RESOLVED] java concatenate string problem
newbie in java
how can i concatenate this properly?
Code:
URL url = new URL("javascript:window.open(" + href + ", "test", "fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=no,directories=no,location=no,width=400,height=400,left=20,top=20" ));
TIA
Re: java concatenate string problem
Re: java concatenate string problem
java.net.URL is Java plus hes asking how to concatenate a String.
Re: java concatenate string problem
Quote:
Originally Posted by Dilenger4
java.net.URL is Java plus hes asking how to concatenate a String.
Yes, but I don't think he can use javascript in there like that.
Re: java concatenate string problem
My bad, it looks like you can do that via the URL object. Sorry. :blush:
However I don't think you need the window.open(
I think it's just
"javascript: " + page
showDocument(url);