Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how can u cal servlet from java?

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


Please Help Members By Posting Answers For Below Questions

What are various types of class loaders used by jvm?

932


How can I scroll through list of pages like the search results in google?

921


what are the advantages of JTA over JTS?

2150


What is the difference between static and non-static with examples?

1866


Can I use javascript to submit a form?

1099


To identify IDL language what mapping mechanism is used?

3890


Explain RMI Architecture?

1037


Define prototype?

1000


Is the session factory thread safe?

1124


What are the types of scaling?

1048


To what value is a variable of the string type automatically initialized?

1081


which type of objects reference will be given to client?

2435


What state does a thread enter when it terminates its processing?

1018


What’s jboss cache in short?

1062


Why is actionform a base class rather than an interface?

1003