Login into website through javacode

Hi,

I want to login a web site login page with Java code. I don't know how to write the program for that any one can send me the code to login. I have my user name and password for that site. I need help for this i hope i will get good replay.Can any one tell me how I can login into the website through Java code. The web page is using the post method to send request to the server.

[397 byte] By [NSKumara] at [2007-11-27 8:58:39]
# 1
http://java.sun.com/j2se/1.4.2/docs/api/java/net/HttpURLConnection.html
aniseeda at 2007-7-12 21:25:08 > top of Java-index,Java Essentials,Java Programming...
# 2
Hi, Thanks for u replay, but i am new to Java programming so plese give me some more detailed in steps wise to understand better way with some code example.Regards,Suneel kumar
NSKumara at 2007-7-12 21:25:08 > top of Java-index,Java Essentials,Java Programming...