How can I send an output to the browser, example I want to send
<html><body>UNAVAILABLE PAGE!</body></html>
..
What will the code for it? Im using socket and streams..
Printable View
How can I send an output to the browser, example I want to send
<html><body>UNAVAILABLE PAGE!</body></html>
..
What will the code for it? Im using socket and streams..
Can you describe where your code is executing and where the browser is?
A desktop app could write an html file to disk containing the html text you want and call the system's browser by using the Desktop class referring to the file you created.