Thanks for your help, everything is fine now
On Thursday, March 22, 2012 5:06:32 PM UTC-7, s j wrote:
>
> First of all thanks for replying. Can you direct me to a link that talks
> about using web frameworks and nodejs?
>
> thanks again for your help
>
> On Thursday, March 22, 2012 9:50:17 AM UTC-7, s j wrote:
>>
>> Hello,
>>
>> When i embed a swf file on an html file, and try to serve it through node
>> js server, the swf file doesn't appear. how can i fix this?
>>
>> (*the callhttpservice.html file has the swf embedded on it, attached is
>> the html page)*
>>
>> var fs = require('fs');
>> var server = require('http').createServer(function(req, response){
>> fs.readFile(__dirname + '/callhttpservice.html', function (err, data)
>> {
>> response.writeHead(200, {'Content-Type':'text/html'});
>> response.write(data);
>> response.end();
>> });
>> });
>> server.listen(8080);
>>
>>
>> thanks for your help
>>
>
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en