Results 1 to 3 of 3

Thread: How to execute javascript from java application?

  1. #1
    Join Date
    Feb 2010
    Beans
    3

    How to execute javascript from java application?

    Hi.
    I need to call a javascript function from my java application.
    That would be something like clicking a button in photoalbum to scan picture names. Now I use URLConnection and BufferedReader to parse html for picture titles.

    Thank you.

  2. #2
    Join Date
    Jul 2008
    Beans
    1,491

    Re: How to execute javascript from java application?

    There's something called Live Connect. Alternatively you can make use of the browserjs engine (a wrapper around the Live Connect thing) the JSR 223 reference implementation provides. (Look for downloads files for JSR 223 on dev.java.net.)

  3. #3
    Join Date
    Feb 2010
    Beans
    3

    Re: How to execute javascript from java application?

    Thank you for the help.

Tags for this Thread

Bookmarks

Posting Permissions

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