SCRIPTENGINE in java

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hsn
    New Member
    • Sep 2007
    • 237

    SCRIPTENGINE in java

    hello everyone
    i have posted a question before and i was told to read about scriptengine in java
    after reading about it and studying it i still was not able to solve the issue which i am facing.

    i am accessing a server through URLConnection. so my code is like a person which he or she is browsing a website. one of the pages in that website uses a javascript function "alert". i want my java program to be able to return true to that function so it could be able to go through it and view the next page

    kind regards
    hsn
  • Dököll
    Recognized Expert Top Contributor
    • Nov 2006
    • 2379

    #2
    Greetings, hsn!

    Sorry you're having this problem...

    Did you work anything out thus far, or since then? I have been away for a while, not sure which post you're referring to. I'd post my code if I were you. I'd also search the whole forum for answers, see what pops up.

    Give that a try, if you haven't already and hang on for added support:-)

    In a bit!

    Comment

    • hsn
      New Member
      • Sep 2007
      • 237

      #3
      Originally posted by Dököll
      Greetings, hsn!

      Sorry you're having this problem...

      Did you work anything out thus far, or since then? I have been away for a while, not sure which post you're referring to. I'd post my code if I were you. I'd also search the whole forum for answers, see what pops up.

      Give that a try, if you haven't already and hang on for added support:-)

      In a bit!
      hello, thanks for your reply.
      i still don't a code for my problem. but let me explain my problem.
      i have three routers, belkin, linksys, and siemens.
      i created some classes which will be able to read the belkin and linksys router through the URLConnection class, and set them to the right settings if they were set incorrectly.
      when i started working on the siemens router i faced some unthinkable things.
      the siemens router uses javascript through the hole webpage to set the data. even the buttons are created in java script. i want to find a way to be able to execute the javascript functions from my java classes. that is when some posts said i should use the scriptmanager in java.

      if you have any ideas i would be grateful.

      regards
      hsn

      Comment

      Working...