I am trying to download an excel file that is avalible on this site:

Once you are logged a frame opens where you fill out a form and then click submit. On pressing submit the result of the query shows and gives you the option to download the data. I think the data is passed using POST. Is there a way to do all of this in java?

Mh, I'm interested in know how although question was possibilty.
Can you explain it Jwenting?

start your own thread :)
He asked if it's possible, and I answered that it is, lol ;)

Seriously, passing credentials in http requests is not that hard. Look at Apache commons for example (I'm sure there are other libraries ready made that can do it, or you can write your own).