×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    1

    JSP/WML:"content could not be encoded by the gateway"

    Hi there!

    I'm trying to write a WML file using JSP but I'm getting a "content could not be encoded by the gateway" error.
    (I'm using Tomcat and Nokia Toolkit).
    Although I set the content type to "text/vnd.wap.wml", I tried
    different encodings, I configured the web.xml file (adding all the appropriate mime-types)and tried several other tips suggested , the gateway insists not accepting the content.
    Any ideas?
    If I ommmit the setContentType("text/vnd.wap.wml")
    the wml file is constructed correctly, but there are
    4-5 blank lines in the begining. So, when the mini-browser
    searches for the <?xml ..... ?> xml thing it doesn't find it
    and comes up with an error.
    What's wrong with it?
    Thanks,
    Manko

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    4
    Replace the Nokia Toolkit with another which is able to compile your jsp and wml code

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×