Potential deadlock in midlet
1 posts in topic
Flat View  Flat View

Posted By:   Vineet_Billorey
Posted On:   Tuesday, November 8, 2005 10:17 AM

I have a midlet calling a servlet, but when I execute it, I get a warning message of potential deadlock and it stops in between. Please guide me to run it.

Re: Potential deadlock in midlet

Posted By:   jignesh_kakkad  
Posted On:   Thursday, November 10, 2005 02:06 AM

you should not call the servlet in the commandAction method!
instead of that you have to make one speparte thread means once you press the button to connect the server(call the servlet) you have to call the run method of the seperate thread, inside that you have to write the appropriate code

i hope this helps you out!!

i do have code if you want then let me know


About | Sitemap | Contact