Hi, well i am having problems in servltes. my prblems is that i want to convert HTML Page in WML page to show that page on mobile screen but i dont know how to do it in Servlets so please tell me how can i do it in servlets .
thanks i will be waiting for ur kind response..
Hi,Servlet can generate the output in WML/HTML/XML etc.You can do this by chnaging the response.setContentType from text/html to wml,xml etc and then instead of making the PrintWriter object emitting html, just make it emit wml tags and code or what ever you want, but make sure that you are working in wml.
I have done this and have tested this concept and it works.
Its pretty simple.