How to run JavaScript code in server-side java code?

I want to run JavaScript code on the server side I want to manipulate the result returned by JavaScript in JavaScript code What should I do?

Solution

At first, it is obvious to study rhino

I think you will find these three links very useful

> JavaScript EE,Part 1: Run JavaScript files on the server side > JavaScript EE,Part 2: Call remote JavaScript functions with Ajax > JavaScript EE,Part 3: Use Java scripting API with JSP

You can also look at helma

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>