开发者

Getting Server-side Javascript to work for me

开发者 https://www.devze.com 2023-01-06 07:20 出处:网络
I am wondering how to install a Javascript runtime engine to work with an Apache HTTP s开发者_如何学JAVAerver. My aim is to run server-side Javascript.

I am wondering how to install a Javascript runtime engine to work with an Apache HTTP s开发者_如何学JAVAerver. My aim is to run server-side Javascript.

Thanks in advance for any help!


I think you may have to clarify why you want to do this.

If you're just looking to execute JavaScript code, Rhino will get you the ability to run javascript within a Java application. However, since its not in a web browser you won't have any access to any sort of DOM.

Other than that, JavaScript is mostly a language that was intended to run in a web browser on the client.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号