I need to send a POST
request using java. The server i am trying to access has a username and password i need to pass those parameters as well.
1.) I have installed Tomcat in my machine and configured the developer environment. I am using eclipse. There are different types of projects i could create using Eclipse, and i need to know what is the best project i should create to develop my application ?
2.) Can someone show me some sample code or tutorial which would help me to develop my task ?
My Eclipse version : Eclipse Java EE, Indigo service release 2
EDIT
Is it a JPA project, Enterprise Application Project, Dynamic Web Project, Dynamic Web Application, EJB project, Application Client project, Static Web Project.