Results 1 to 2 of 2
  1. #1
    noob is offline Member
    Join Date
    Nov 2008
    Posts
    2
    Rep Power
    0

    Default Get source web page after clicking next Button

    Hello,

    I was working on a java program that views the source webpage of a desired website then retrieves particular href links to be traversed next. The problem is when the program is at the end of webpage it has next button to continue the display results :

    Example :
    ------------------------------------
    Displaying 1 of 20 results

    1.
    2.
    .
    .
    10.

    Click Next button
    --------------------------------------

    How can I get the link of the next button for me to able to traverse the next web page?

    Thanks for any ideas.

  2. #2
    noob is offline Member
    Join Date
    Nov 2008
    Posts
    2
    Rep Power
    0

    Default

    The program gets the value of href attributes of <a>.

    source web page:
    ------------------------

    Display results 1 to 20 of 40

    <a href="browse1">link1</a>
    <a href="browse2">link2</a>
    <a href="browse3">link3</a>


    <input type="submit" name="NextButton" value=" Next " id="NextButton" .....
    -------------------------

    Is there a way to get the nextButton link to proceed with the next 20 results?

    Thanks!

Similar Threads

  1. Page Source
    By fawkes in forum Networking
    Replies: 0
    Last Post: 03-24-2009, 07:06 PM
  2. Hi , Error in Jsp page is as "NumberFormatException.forInputString(Unknown Source)"
    By lavanya82 in forum JavaServer Pages (JSP) and JSTL
    Replies: 9
    Last Post: 02-20-2009, 08:22 AM
  3. to retrieve the webcontent from another page source
    By rameshsathasivam in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 11-25-2008, 09:41 AM
  4. Warning: Page has Expired on click of back button
    By bhupendra in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 08-27-2008, 08:42 PM
  5. Display success message in same page when submit button is clicked
    By am17mu in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 03-29-2008, 11:56 AM

Posting Permissions

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