excuse me,I have a xhtml file

Posted: 09-20-2004, 03:09 PM
regards:

I have a xhtml file named test.html

I run a java code to use ServerSocket to simulate my machine as a HTTP

server.When client connect to my HTTP server machine,the java code will

send the test.html file to client by the method socket.getoutputstream();

I would like to ask is that:

Before sending the file test.html,what kind of HTTP headers I should choose

to send to the client?(If information of the file test.html is known)

----------------------------------------------------------------------------
My question is that I want to send the client a xhtml file by socket and

HTTP protocol.what kind of HTTP headers I should send to the client and let

the client can browse my file test.html.


thank you

any suggestions is welcome.
Reply With Quote

Responses to "excuse me,I have a xhtml file"

 
Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
.nsl- file?? DuDe In A cItY Nokia 2 07-30-2008 08:05 AM
nokia 6600 not submitting XHTML form alex Nokia 0 09-16-2004 10:32 AM
WAP with Nokia 6230 without Internet / XHTML Marko G. Nokia 0 07-22-2004 09:16 PM
3650 xhtml browser + warning tone kean meng, lim Nokia 2 10-16-2003 10:00 AM
.csv file to .ncc file xazos79 Nokia 3 10-01-2003 06:50 AM


All times are GMT. The time now is 02:47 PM.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33