Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
    Bookmark Topic Watch Topic
  • New Topic

Working with an url. a specific problem  RSS feed

Posts: 3
  • Mark post as helpful
  • send pies
  • 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: 21208
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
Once is enough, thank you. UseOneThreadPerQuestion.
Don't sweat petty things, or pet sweaty things. But cuddle this tiny ad:
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!