Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: java class code access a web site

  1. #1
    Junior Member
    Join Date
    Feb 2018
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default java class code access a web site

    Hi i am new in Java Programming

    I would like to ask if some one can help me how to use Java class in order to access a web page having meteo data getting from our department and save the data content to Excel sheet.

    Note:all meteo data that are displayed in the table, they are getting from meteorological message that are sent hourly from our department.



    All my respects.

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    22,016
    Thanks
    52
    Thanked 2,365 Times in 2,319 Posts

    Default Re: java class code access a web site

    If you want to read the contents of an HTML page from a server look at the URLConnection class for example.
    Use the URL class's openConnection() method to get an instance of the URLConnection for a specific URL.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Making a web site in Java
    By jocdrew21 in forum Java Theory & Questions
    Replies: 13
    Last Post: August 1st, 2014, 09:30 AM
  2. How can I search for specific content on a web site?
    By MrJava in forum What's Wrong With My Code?
    Replies: 1
    Last Post: January 29th, 2014, 10:31 AM
  3. Java Web Start app exiting with access denie (java.lang.RuntimePermission
    By sonaljain in forum What's Wrong With My Code?
    Replies: 2
    Last Post: June 13th, 2011, 08:43 PM
  4. how to transform an html file to a web site in java
    By nasi in forum Java Theory & Questions
    Replies: 9
    Last Post: March 28th, 2010, 11:06 PM