hi every one
i am calling and asp from my wml the asp works very fine and return wml code . but when i run it from my tool kit it gives me error as mime type "" not accepted . can some one help me
Posted by gaurav -, gauravusa@hotmail.com
on June 28, 2000 at 08:59
Posted by mario gianota, MarioGianota@SimultaneousMillions.com
on June 29, 2000 at 15:10
Set the content type on the request before you write any
output.
With JSP it looks something like this:
request.setContentType("text/vnd.wap.wml"
I know that ASP and JSP are fairly similar (partly because
Microsoft ripped off all of their ideas from the Servlet API)
so you should be able to puzzle it out from that. Remember
that you must set the content type before you write any output
back to the remote client.