Abhishekshri Shrivastava wrote:
Please help me to make a java program(basically i will be writing web apps) ......
SCJP 91%, SCWCD 97%
can you please share the sample code or reference material url for the suggested way.
SCJP 91%, SCWCD 97%
Ulf Dittmer wrote:If this was my problem I'd use a higher-level library like jWebUnit that abstracts away a lot of the HTTP/HTML handling; it's easier to use and less code to write than if using HttpClient.
Shashank Ag wrote:
can you please share the sample code or reference material url for the suggested way.
Here is a sample code:
SCJP 91%, SCWCD 97%
Shashank Ag wrote:Well will need to use commons-logging.jar too in your class path.
Also you may need commons-codec*.jar, use it if your program gives error.
Abhishekshri Shrivastava wrote:i also went through "org.apache.commons.httpclient.HttpClient" class from jar after decompling it.
please share me the link from which i can get all these jar
SCJP 91%, SCWCD 97%
Shashank Ag wrote:In simple terms HttpClient API is made using commons-logging and commons-codec api.
So, its dependent upon it and you need to have these in classpath while using HttpClient.
I am not attaching download links as you should be able to google it. Use codec 1.4 and logging 1.1 version.
SCJP 91%, SCWCD 97%