Results 1 to 5 of 5

Thread: [RESOLVED] java concatenate string problem

  1. #1

    Thread Starter
    Fanatic Member VBKNIGHT's Avatar
    Join Date
    Oct 2000
    Location
    Port25
    Posts
    619

    Resolved [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

    If a post has helped you then Please Rate it!

  2. #2
    Frenzied Member System_Error's Avatar
    Join Date
    Apr 2004
    Posts
    1,111

    Re: java concatenate string problem

    Java is not JavaScript!

  3. #3

  4. #4
    Frenzied Member System_Error's Avatar
    Join Date
    Apr 2004
    Posts
    1,111

    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.

  5. #5
    Frenzied Member System_Error's Avatar
    Join Date
    Apr 2004
    Posts
    1,111

    Re: java concatenate string problem

    My bad, it looks like you can do that via the URL object. Sorry.

    However I don't think you need the window.open(

    I think it's just


    "javascript: " + page

    showDocument(url);

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width