we have a web application .In that search by flight number option is there.If i enter flight number ,it has go to the below url and whatever contents are displaying there those contents i want to display it here in my application.for this one i am using URLConnection class.by using this class i will get only contents of the view source code.how to proceed further to accomplish this task?
are there any other options other than this? import java.net.*; import java.io.*;
If all you want to do is display the contents of the URL, the easiest would be to load it in an IFRAME that's embedded in the web page. That way, the browser gets to do all the work of loading the page.
Because those who mind don't matter and those who matter don't mind - Seuss. Tiny ad: