×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jun 2005
    Posts
    3

    Question downloading jad file

    Hello

    I'm sorry to ask this simple questions but I'm trying to download a file (.jad or .jar) from my site. The ideea is to download a java application on my mobile. Every time when I try to download I got errors. The server is an Apache. The server is not mine so I don't have teh logs for debuggin'

    For .jad file:
    Cannot load <url> (HTTP Error 406 Not Acceptable)

    For .jar file:
    WML Browser: Unsupported content type.

    All those messeges were on Nokia Mobile Browser, from my mobile I just don't get anything.

    The rest of the wml site works perfect.

    The code for downloading the files:
    <a href="example1.jad">Download example1.jad</a><br/>
    <a href="example1.jar">Download example1.jar</a><br/>

    Even if I tryed many times and dig on Internet I found no clue about my problem.

    Any help appreciated. At least can someone tell my if it is a mistake in the wml code or on the server side?

    Thank You
    Razvan

  2. #2
    Registered User
    Join Date
    Jun 2005
    Posts
    3

    mea culpa

    Sorry, I just discover the problem.

    I was not testing with the phone but with NMBS 4.0 from Nokia. I looked in the logs from Nokia WAP Gateway simulator. It seems this browser could not recognize the .jad file.
    With the mobile it worked fine, just had an anchot pointing to the .jad file.

    All the best

  3. #3
    Registered User
    Join Date
    Jun 2005
    Posts
    5
    You need to add follow strings to your http server config file or just to .htaccess

    AddType text/vnd.sun.j2me.app-descriptor jad
    AddType application/java-archive jar

Posting Permissions

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