Getting info of URL

Discussion in 'Java' started by Kartz, May 3, 2007.

  1. Kartz

    Kartz Guest

    Hi to all,
    I'm a beginner in Java, and i would like to know how to get the
    full URL from the browser to the Java program. I'm doing a project on
    Proxy server. When I try to get input(a request for a file from the
    browser), i'm getting some what like:

    GET / http://sample.txt/ HTTP 1.1

    I'm not able to get the User-Agent, host name and file type.

    I'm unable to seng pictures, audio files and video files to the
    client.


    Anyone can help me????
     
    Kartz, May 3, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Vasanth
    Replies:
    0
    Views:
    577
    Vasanth
    Jun 28, 2004
  2. Jon paugh
    Replies:
    1
    Views:
    870
  3. Andrea Williams

    Clear the Render info & change to different info

    Andrea Williams, Oct 27, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    1,438
    Ken Dopierala Jr.
    Oct 27, 2004
  4. Jeff

    getting query info in a url

    Jeff, Feb 27, 2007, in forum: ASP .Net
    Replies:
    4
    Views:
    303
    John Timney \(MVP\)
    Feb 27, 2007
  5. Just D.
    Replies:
    0
    Views:
    504
    Just D.
    Aug 11, 2004
Loading...

Share This Page