This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes Java URL Object and client-side translation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java URL Object and client-side translation " Watch "Java URL Object and client-side translation " New topic
Author

Java URL Object and client-side translation

Garry Jackson
Greenhorn

Joined: Aug 11, 2003
Posts: 8
I have a requirement to parse the content of an Intranet page via a server process. However, the Intranet page uses vast amounts of JavaScript, XML and the MS Core Services process to translate the pages. So, my dilemma is, how do I get the Java process via the URL object to read the actual content AFTER it has been parsed inline, rather than return back just the Javascript code that is performing the translation.....???
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

To do this, you'd need a complete implementation of a JavaScript-enabled, DOM-based (and I don't even know what MS Core Services are) browser in Java -- or at least, a browser that you could call as a subprocess and which would return the rendered HTML to you in some form. There's definitely nothing like this in the J2SE, but it's possible a third-party tool might do the trick. The Jazilla project might be your best bet.


[Jess in Action][AskingGoodQuestions]
 
Don't get me started about those stupid light bulbs.
 
subject: Java URL Object and client-side translation