i want to show a wap website on Java ME application but i dont know how !!!
please help me to do it
You would have to read returned document as a schema(like xml), and through rendering engine provide necessary layout and set up for each wap tag therefore creating new mobile browser and in doing so reinventing wheel which will take very-very long
If the platform has the appropriate capabilities and resources available, it SHOULD bring the appropriate application to the foreground and let the user interact with the content, while keeping the MIDlet suite running in the background.
Meaning if mobile device has any mobile browser that will be used
If the platform does not have appropriate capabilities or resources available, it MAY wait to handle the URL request until after the MIDlet suite exits.
Will do nothing if not available therefore you will not be able to handle WAP.
For the future make sure you are clear on what you trying to achieve as the above discussion prove you haven't been and just stumbled on a resource which you believed solved your problem, which in reality highlighted limitation you stand against.