• Post Reply Bookmark Topic Watch Topic
  • New Topic

Embedded browser  RSS feed

 
Nigel Hoath
Greenhorn
Posts: 19
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. I have an embedded browser in a standalone java app running on windows. The browser calls up web pages over the internet with no problem.



I have a C executable which captures and documents network traffic. I communicate with it by entering http://27.0.0.1:6500 into any browser (it works with them all). It responds with a simple html form (three buttons, a tick box, a label, and one text box).

However I cannot get it to work with the embedded SWT browser.

Be very grateful for any suggested settings that might resolve this. I have searched but with no luck.
 
Nigel Hoath
Greenhorn
Posts: 19
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Answer to my own question but hopefully it might help someone.

It related to strictly abiding by the URL protocol. While it is obvious you can break the rules at times if you stick to the protocol then it always works (well so far).

My code that does the trick:



And embedded browser is perfect for the job. Cheers
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!