By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,691 Members | 1,836 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,691 IT Pros & Developers. It's quick & easy.

server-side javascript compilation using spidermonkey

P: n/a
Hello!

I know that spidermonkey can compile and detect if the javascript has
any syntax errors. But I'm not sure if it can handle javascript to be
ran on the server-side? example: ..response.write("<html>"...)
any ideas? thanks!

Jul 23 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a


wy*****@yahoo.com wrote:
I know that spidermonkey can compile and detect if the javascript has
any syntax errors. But I'm not sure if it can handle javascript to be
ran on the server-side? example: ..response.write("<html>"...)


Netscape for some years had a server-side JavaScript product that used
Spidermonkey as far as I know, of course Spidermonkey only provides core
JavaScript and then whoever used it or wants to use it on the server
needed to added host objects/methods like response/response.write.
And at least with Netscape's server-side JavaScript you couldn't simply
write and then serve a page with HTML and embedded script as you can do
with ASP, you had to compile the whole page.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Browse more JavaScript / Ajax / DHTML Questions on Bytes