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

Name the class that is used to bind the server object with RMI Registry?

2116


What are callback interfaces?

1058


What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?

994


Can I run seam outside of jboss as?

1040


How messaging services are done, before release of JMS?

2087


Describe activation process?

2611


how i secure my site with the https protocol.what are the steps?

2284


What value does read() return when it has reached the end of a file?

995


What are externizable interface?

1019


Do we need to override service() method

1666


Write a program to show synchronization?

1094


How substring() method of string class create memory leaks?

1002


Where can I find seam examples and documentation?

1050


What are the types of scaling?

1050


Name the eight primitive java types.

1077