How to execute javascript within my application?

Discussions

Web tier: servlets, JSP, Web frameworks: How to execute javascript within my application?

  1. How to execute javascript within my application? (1 messages)

    Hi, I am designing a kind of spider java application that extracts the contents of a web page as well as all links to other URLs it may have.

    One requirement is that it must also understand links dynamically assembled by calls to some javascript functions such as window.open().

    I am completely lost at how to do it, does anyone have an idea of what kind of tools I need or should I look at? Any help is greatly appreciated.

    M
  2. look at HttpUnit.org[ Go to top ]

    Take a look at HttpUnit.org Are you trying to do the same thing ?

    It uses rhino javascript engine from mozilla.