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: Return variable from an URL.

  1. #1
    Junior Member
    Join Date
    Sep 2011
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Return variable from an URL.

    How to get a return variable from an URL and use it in JSP. To be exact
    GeoNames
    returns 'IN' . How to get this and use it in my JSP code?


  2. #2
    Member
    Join Date
    Oct 2011
    Posts
    36
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default Re: Return variable from an URL.

    As I know, there are two ways to exact a return variable from an url. One way is using API developed by the website if there is. The other way is that you might need to parse the source code of the page and get what you need.

Similar Threads

  1. Return Object does not return the expected output
    By Nour Damer in forum What's Wrong With My Code?
    Replies: 1
    Last Post: October 13th, 2011, 08:24 AM
  2. Trying to return more than one value as object
    By mwr76 in forum Object Oriented Programming
    Replies: 3
    Last Post: September 30th, 2011, 03:09 PM
  3. [SOLVED] Return statement.
    By Melawe in forum Java Theory & Questions
    Replies: 18
    Last Post: June 20th, 2011, 12:54 PM
  4. how to return value ..
    By gr8mind in forum What's Wrong With My Code?
    Replies: 1
    Last Post: February 11th, 2011, 05:27 AM
  5. return a day of the year
    By lipry in forum Java Theory & Questions
    Replies: 3
    Last Post: January 23rd, 2011, 05:10 PM