Results 1 to 1 of 1
  1. #1
    theChameleon is offline Member
    Join Date
    Oct 2010
    Posts
    26
    Rep Power
    0

    Default how to login to website to get access using java?

    i am a paid subscriber of a website, and i want to write a program that automatically downloads the subscriber-only content and make sense of it automatically (the scale is too large to do it manually).

    however, im stuck at the login. how do i make the java program log in to the site so that the program will be able to download the subscriber only content to make sense of it all automatically?

    Java Code:
                <form method="post" action="/user/do_login.html"> 
                  <ul> 
                    <li class="sic_username"> 
                      <label for="sic_login_username">Username</label> 
                      <input id="sic_login_username" name="name" type="text" class="sic_textbox" /> 
                    </li> 
                    <li class="sic_password"> 
                      <label for="sic_login_password">Password</label> 
                      <input id="sic_login_password" name="password" type="password" class="sic_textbox" /> 
                    </li> 
                    <li class="sic_remember"> 
                      <label for="sic_login_remember">Remember</label> 
                      <input id="sic_login_remember" name="remember" type="checkbox" /> 
                    </li> 
                    <li class="sic_submit"> 
                      <input id="sic_login_submit" type="submit" value="Login" class="sic_logInOut" /> 
                    </li> 
                  </ul> 
                </form>
    thanks.
    Last edited by theChameleon; 10-29-2010 at 06:51 PM.

Similar Threads

  1. Java - Getting Login ID
    By java_goose in forum Advanced Java
    Replies: 0
    Last Post: 04-27-2010, 08:16 AM
  2. Trying to login to a website then grab another page
    By DaveTheAve in forum New To Java
    Replies: 6
    Last Post: 04-14-2010, 09:44 PM
  3. How to download website (Get all link in website)
    By finalmem in forum Advanced Java
    Replies: 0
    Last Post: 11-12-2008, 08:43 AM
  4. Replies: 0
    Last Post: 06-25-2008, 12:41 PM
  5. Kode Java Website
    By wsaryada in forum Reviews / Advertising
    Replies: 4
    Last Post: 01-18-2008, 09:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •