A HTTP server question

M

mike

regards:

I write java program,a simple HTTP server
when client connected my machine,HTTP server send the HTTP header to the client,
and then send a XHTML file to the client.

I use MS IE to test the HTTP server,it is OK.MS IE shows the XHTML file.
but when I use nokia 6600 to browse,nokia 6600 cannot browse the XHTML file.

when java programs is running,indicate that(I do mark at the java program)
(1)HTTP server do receive nokia 6600's HTTP request.
(2)HTTP response headers is sent to the client.
(3)the XHTML file is sent to the client.

but nokia 6600 cannot browse the XHTML file.
could someone excellent to give me a constructive suggestion?
thank you
 
J

Joe

s917124 said:
when java programs is running,indicate that(I do mark at the java program)
(1)HTTP server do receive nokia 6600's HTTP request.
(2)HTTP response headers is sent to the client.
(3)the XHTML file is sent to the client.

but nokia 6600 cannot browse the XHTML file.
could someone excellent to give me a constructive suggestion?
thank you


It sounds like the Nokia browser can't parse what you are sending it.
You might try to confirm this by sending a very simple, standardized
file:
<html><body>Hello World</body></html>

In any event, from what you've said, I don't think the problem lies with
java or your server.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,243
Members
46,835
Latest member
lila30

Latest Threads

Top