[prev in list] [next in list] [prev in thread] [next in thread]
List: kvm-interest
Subject: Midlet download
From: a das asda <andichan2001 () YAHOO ! CO ! UK>
Date: 2002-11-27 10:24:42
[Download RAW message or body]
I have 1 jad file and 1 jar file.
When I put them in my apache server, then I tried to download via my Nokia7650, it's \
successful. But when I put them in my IIS server, then I tried to download via my \
Nokia7650, it's unsuccessful. And then I peek on the headers and this is the result:
Apache server:
Line 0 HTTP/1.1 200 OK
Line 1 Connection: close
Line 2 Date: Wed, 27 Nov 2002 07:34:12 GMT
Line 3 Accept-Ranges: bytes
Line 4 Server: Apache/1.3.26 (Unix) (Red-Hat/Linux) mod_ssl/2.8.9 OpenSSL/0.9.6 \
PHP/4.1.1 Line 5 Content-Length: 165
Line 6 Content-Type: text/vnd.sun.j2me.app-descriptor
Line 7 Client-Date: Wed, 27 Nov 2002 07:34:12 GMT
Line 8 Client-Peer: 66.227.48.160:80
Line 9 X-Powered-By: PHP/4.1.1
Line 10
Line 11 MIDlet-1:AirPix, /icons/icon.png, airpix.MainMenu
Line 12 MIDlet-Jar-Size: 39955
Line 13 MIDlet-Jar-URL: AirPix.jar
Line 14 MIDlet-Name: AirPix
Line 15 MIDlet-Vendor: inTouch
Line 16 MIDlet-Version: 1.0.0
IIS server:
Line 0 HTTP/1.1 200 OK
Line 1 Date: Wed, 27 Nov 2002 07:42:16 GMT
Line 2 Accept-Ranges: bytes
Line 3 Server: Microsoft-IIS/5.0
Line 4 Content-Length: 165
Line 5 Content-Type: text/vnd.sun.j2me.app-descriptor
Line 6 ETag: "d0fb15a5d94c21:8e8"
Line 7 Last-Modified: Mon, 25 Nov 2002 08:31:24 GMT
Line 8 Client-Date: Wed, 27 Nov 2002 07:39:48 GMT
Line 9 Client-Peer: 202.158.42.89:80
Line 10
Line 11 MIDlet-1:AirPix, /icons/icon.png, airpix.MainMenu
Line 12 MIDlet-Jar-Size: 39955
Line 13 MIDlet-Jar-URL: AirPix.jar
Line 14 MIDlet-Name: AirPix
Line 15 MIDlet-Vendor: inTouch
Line 16 MIDlet-Version: 1.0.0
I suspect this is because the header "Connection: close" in the apache and not in \
IIS. If I use ASP, in my IIS server the connection header is "Connection: Keep-Alive" \
(I can't download the midlet either).
Then I tried to overwrite it using:
Response.AddHeader "Connection", "close"
but the header became double connection?:
Connection: close
Connection: Keep-Alive
and the download is unsuccessful either.
I'm now left in the dark. Could someone please help me out. Thank you!
Joseph
---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs
[Attachment #3 (text/html)]
<P>I have 1 jad file and 1 jar file.<BR>When I put them in my apache server, then I \
tried to download via my Nokia7650, it's successful.<BR>But when I put them in my IIS \
server, then I tried to download via my Nokia7650, it's unsuccessful.<BR>And then I \
peek on the headers and this is the result:</P> <P>Apache server:</P>
<P>Line 0 HTTP/1.1 200 OK<BR>Line 1 Connection: close<BR>Line 2 Date: \
Wed, 27 Nov 2002 07:34:12 GMT<BR>Line 3 Accept-Ranges: bytes<BR>Line \
4 Server: Apache/1.3.26 (Unix) (Red-Hat/Linux) mod_ssl/2.8.9 OpenSSL/0.9.6 \
PHP/4.1.1<BR>Line 5 Content-Length: 165<BR>Line 6 Content-Type: \
text/vnd.sun.j2me.app-descriptor<BR>Line 7 Client-Date: Wed, 27 Nov 2002 \
07:34:12 GMT<BR>Line 8 Client-Peer: 66.227.48.160:80<BR>Line \
9 X-Powered-By: PHP/4.1.1<BR>Line 10 <BR>Line 11 MIDlet-1:AirPix, \
/icons/icon.png, airpix.MainMenu<BR>Line 12 MIDlet-Jar-Size: 39955<BR>Line \
13 MIDlet-Jar-URL: AirPix.jar<BR>Line 14 MIDlet-Name: AirPix<BR>Line \
15 MIDlet-Vendor: inTouch<BR>Line 16 MIDlet-Version: 1.0.0</P> <P>IIS \
server:</P> <P>Line 0 HTTP/1.1 200 OK<BR>Line 1 Date: Wed, 27 Nov 2002 \
07:42:16 GMT<BR>Line 2 Accept-Ranges: bytes<BR>Line 3 Server: \
Microsoft-IIS/5.0<BR>Line 4 Content-Length: 165<BR>Line 5 Content-Type: \
text/vnd.sun.j2me.app-descriptor<BR>Line 6 ETag: "d0fb15a5d94c21:8e8"<BR>Line \
7 Last-Modified: Mon, 25 Nov 2002 08:31:24 GMT<BR>Line 8 Client-Date: Wed, \
27 Nov 2002 07:39:48 GMT<BR>Line 9 Client-Peer: 202.158.42.89:80<BR>Line \
10 <BR>Line 11 MIDlet-1:AirPix, /icons/icon.png, airpix.MainMenu<BR>Line \
12 MIDlet-Jar-Size: 39955<BR>Line 13 MIDlet-Jar-URL: AirPix.jar<BR>Line \
14 MIDlet-Name: AirPix<BR>Line 15 MIDlet-Vendor: inTouch<BR>Line \
16 MIDlet-Version: 1.0.0<BR></P> <P>I suspect this is because the header \
"Connection: close" in the apache and not in IIS. If I use ASP, in my IIS server the \
connection header is "Connection: Keep-Alive" (I can't download the midlet \
either).</P> <P>Then I tried to overwrite it using:</P>
<P>Response.AddHeader "Connection", "close"</P>
<P>but the header became double connection?:</P>
<P>Connection: close<BR>Connection: Keep-Alive</P>
<P>and the download is unsuccessful either.</P>
<P>I'm now left in the dark. Could someone please help me out. Thank you!</P>
<P>Joseph</P><p><p><br><hr size=1><a \
href="http://uk.yahoo.com/mail/tagline_xtra/?http://uk.docs.yahoo.com/mail_storage.html"><b><font \
face="Arial" size="2">With Yahoo! Mail you can get a bigger mailbox -- choose a size \
that fits your needs</font></b></a><br>
==========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic