Autodownload/login, HttpServlet programming

I need to create a program which will login to a webapp, go to a specific webpage, and download a file. The program will run as a daily cron. I really don't know where to start though. I imagine there is some lower level HttpServlet programming involved. Can anyone give me some advice on where to start and how to achieve this?

Thank you

[352 byte] By [black_lotusa] at [2007-11-26 16:59:35]
# 1
There's no servlet programming involved at all. Servlets would run in an application server. However you want to write something that runs as a client and accesses data from a server.I would suggest using Jakarta's HttpClient instead of trying to write the HTTP client code
DrClapa at 2007-7-8 23:27:22 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...