In my servlet program, I call:
        response.sendRedirect("http://www.yahoo.com")
It works in html. However, it does not work in WAP. 

I believe that the problem is that sendRedirect creates a redirect "HTML" file (html 
file with the reference tag in it) and send it to client instead of directly redirect 
to the URL. Since the WAP cellphone cannot under html file. It cannot do redirect.

Anyway to fix it? (I tried to use getRequestDispatcher's forward, but it does not work 
neither...)

Thanks

TK

Reply via email to