dcsimg

How do I send a WML page as a response from a servlet?

John Zukowski

Sending WML is no different than sending back HTML. The only difference is you have to setup the MIME type in the response:


response.setContentType("text/vnd.wap.wml");