Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6627771
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T22:03:12+00:00 2026-05-25T22:03:12+00:00

I got the following scenario: On my webserver I have a .do file with

  • 0

I got the following scenario:
On my webserver I have a .do file with HTML code like this:

<form name="login" action="someAction" method="post">
    //some textboxes
</form>
<input type="submit" value="Submit" />

Now I’m trying to make an application, which connects to the webserver – https – fills out the form and get the HTML from the next site (the site, when you’re logged in).
After that I have to do several JavaScript submits to get the data I want to display it in my desktop application.

I somehow managed to build a connection and get the HTML from the login site, but since I’m new to HttpRequests and stuff like that, I have no idea how to go on.

Help would be appreciated.

Edit: I get the following in my Console:

Sep 24, 2011 2:23:28 PM com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify
WARNING: Obsolete content type encountered: 'text/javascript'.
Sep 24, 2011 2:23:30 PM com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl notify
WARNING: Obsolete content type encountered: 'text/javascript'.
Wrapped com.gargoylesoftware.htmlunit.ScriptException: Error: ERROR: No matching script interactive for function () {
    var result = bootstrapDojo();
    result.dojo._dijit = result.dijit;
    result.dojo._dojox = result.dojox;
    return result.dojo;
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T22:03:12+00:00Added an answer on May 25, 2026 at 10:03 pm

    I suggest you to use htmlunit:

    HtmlUnit is a “GUI-Less browser for Java programs”. It models HTML
    documents and provides an API that allows you to invoke pages, fill
    out forms, click links, etc… just like you do in your “normal”
    browser.

    It has fairly good JavaScript support (which is constantly improving)
    and is able to work even with quite complex AJAX libraries, simulating
    either Firefox or Internet Explorer depending on the configuration you
    want to use.

    It is typically used for testing purposes or to retrieve information
    from web sites.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have he following scenario: Got an HTML template file that will be used
I got stuck with the following scenario like I have two timers. If user
I got the above mentioned exception when performing following scenario. Students and Address have
I've got a scenario like the following: class criterion { // stuff about criteria...
I got the following scenario: I am writing an app, which acts like a
I have got the following scenario. In my SL application, I am getting some
I have the following scenario(table below) where I would like to pick 'X' or
I got hooked up with the following scenario. I have a google ad with
I've got a serious doubt. Suppose the following scenario: You have a UIViewController onscreen.
I've got the following simple scenario: I parse manifest.json (a JSON file) I add

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.