access internet using a software
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Kanika_Khandelwal
Posted On:   Wednesday, June 13, 2007 07:59 AM



how can i access internet using a software...can i do it using jsp..????
i want to use google search in my software...i just type keyword in my software n google should search for that keyword and give me result...how it can be done..???

Re: access internet using a software

Posted By:   P_Manchanda  
Posted On:   Wednesday, June 13, 2007 12:28 PM

Hi Kanika,

Depending on the information given by you there are two ways to do it:


#Use URLConnection class provided by java. (Alternatively you can also use HTTPClient from apache). But in this case you may end up in parsing the html received from the server.

#Google also provides some APIs to access it's search engine. You can check more information here
http://code.google.com/apis/soapsearch/api_faq.html
About | Sitemap | Contact