Discussion Board

Results 1 to 2 of 2

Thread: Tool kit error

  1. #1
    Super Contributor Nokia_Archive's Avatar
    Join Date
    Mar 2003
    Posts
    2,426
    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

  2. #2
    Super Contributor Nokia_Archive's Avatar
    Join Date
    Mar 2003
    Posts
    2,426
    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.

    cheers,
    Mario.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved