M
mike
regards:
I use Jtidy(java api introduced by w3c),to translate one HTML page into
XHTML page.
Now,I get the "XHTML" file
--------------------------------------------------------------------------
I write java code and simulate my machine as a HTTP server listening
port 85.
When client connect to my machine by using HTTP protocol.
In my program,I send the client the HTTP headers,there are 2 important
HTTP headers
1)content-length: ?(2)content-type: ?
The parameter of "content-length:",I can decide.
What I ask is what kind of content-type I should apply to the "XHTML" file.
--------------------------------------------------------------------------
because the "XHTML" file is generated by Jtidy,I dont't know what kind of
mime type I should use to let the mobile browser to identify the "XHTML"
file.
Could someone excellent or experienced to tell me how?
thanks a lot
I use Jtidy(java api introduced by w3c),to translate one HTML page into
XHTML page.
Now,I get the "XHTML" file
--------------------------------------------------------------------------
I write java code and simulate my machine as a HTTP server listening
port 85.
When client connect to my machine by using HTTP protocol.
In my program,I send the client the HTTP headers,there are 2 important
HTTP headers
The parameter of "content-length:",I can decide.
What I ask is what kind of content-type I should apply to the "XHTML" file.
--------------------------------------------------------------------------
because the "XHTML" file is generated by Jtidy,I dont't know what kind of
mime type I should use to let the mobile browser to identify the "XHTML"
file.
Could someone excellent or experienced to tell me how?
thanks a lot