Timeout in url conncetion
0 posts in topic
Flat View  Flat View

Posted By:   gbsv_prasad
Posted On:   Monday, June 4, 2001 07:32 AM

Hi I have one method doFirst() which is going to bring some data (using url connection)and
returns data
as String . now i want to put some time out condition while executing
above method and once the specified time is over i want to skip above
process and want to excute another method doSecond(). how to do that in
threads or is there any other process to do in I/O .. please help me out..if u have some piece of code that would be great

thanks in advance

About | Sitemap | Contact