I'm creating a server.
When I want to reach new page I get the proper content in the browser, BUT in text format. I'm using OutputStream's methods write, flush, close...
After that, when I click F5 (Refresh), page loads properly.
I don't see the real page, because HTML content is displayed as:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr"><head>............
(problem from the begining)
Regards
Normally trees don't drive trucks. Does this tiny ad have a license?
a bit of art, as a gift, the permaculture playing cards