Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Himai Minh

Working with an url. a specific problem

Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
I am parsing content within html with a java program I wrote. Here are the links I'm using and the problem:

I use http fox or fiddler to see the web traffic so I can write it all into my java program....

The Link:

on that page on the right side you will see:

Create Export File

when you click on that, it tries to open a spread sheet, just cancel that. It's not the issue.

the web traffic for the "Create Export File" is 2 GET(s).The first one produces this info in HTTP Fox: :

00:34:53.220 0.099 1108 245 GET 200 application/octet-stream

if you look at the content of the first GET (from HTTP Fox or fiddler console), it is basically the content for a .csv file. I want to read that content into a string or a buffer. There is one BIG problem..... I do not know how to work with GET(s). I have always been confronted with POST(s). I know how to deal with them in java, but I don't know how to access GET(s). I do see in the "Headers" tab ( request header) of HTTP Fox there is some stuff that might have to be dealt with, but I do not know how to write the code in java to deal with it.

linking to the first url then to does not work (that was advice someone gave me).

Any help would be appreciated.

Posts: 22683
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Once is enough, thank you. UseOneThreadPerQuestion.
Honk if you love justice! And honk twice for tiny ads!
Garden Master Course kickstarter
    Bookmark Topic Watch Topic
  • New Topic