Answer Posted / manjul
create a HTTPClient object
DefaultHttpClient httpclient = new DefaultHttpClient();
HttpGet httpget = new HttpGet("your servlet");
HTTPResponse response = httpclient.execute(httpost);
| Is This Answer Correct ? | 22 Yes | 3 No |
Post New Answer View All Answers
When a thread blocks on i/o?
How are the elements of a cardlayout organized?
What is the difference between the ‘font’ and ‘fontmetrics’ class?
How are commas used in the intialization and iteration parts of a for statement?
Is it possible to stop the execution of a method before completion in a sessionbean?
How will you pass parameters in RMI? Why do you serialize?
Explain the different types of memory used by jvm?
why static class in java
What is chat area? Explain.
What is the difference between the session.update() method and the session.lock() method?
What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?
what is the use of State Factories?
Difference between DurableSubscription and non- DurableSubscription?
Can constructors be synchronized in java?
What is a sessionfactory? Is it a thread-safe object?