Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Need help communicating with a java.lang.Process (a web browser)  RSS feed

 
NB Thompson
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone please advise me on how I can send URLs to a java.lang.Process [created in my app by using Runtime.getRuntime().exec(pgr)] which references a web browser instance?

User action in my application should be able to send another post request to the existing instance of Internet Explorer. I've tried simply writing the URL to the OutputStream of the Process but I assume that it isn't working since I'm not executing the Post function of the browser.
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, welcome to the ranch! My team worked with the JACOB Java COM Bridge to do this kind of thing. It did the simple stuff pretty well but couldn't drill into the browser's event model to let us capture mouse clicks. Hey, it looks like there was an update in 2004, quite a bit more recent than my experience.

http://danadler.com/jacob/
 
NB Thompson
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Stan! I'll check it out.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!