• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java URL Object and client-side translation

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.....???
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic