Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the SAP Server Side JavaScript solution?

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

What the SAP Server Side JavaScript solution is, I believe many inexperienced people are at a loss about it. Therefore, this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

For JavaScript on the server side, take a look at the introduction of wikipedia:

Https://avaScript#Server-side_JavaScript

Server-side JavaScript

> In December 1995, soon after releasing JavaScript for browsers, Netscape introduced an implementation of the language for server-side scripting with Netscape Enterprise Server.

Since 1996, the IIS web-server has supported Microsoft's implementation of server-side Javascript-- JScript-- in ASP and .NET pages.

Since the mid-2000s, additional server-side JavaScript implementations have been introduced, such as Node.js in 2009.

Take a look at SAP's Server Side (server-side) JavaScript solution: SAP Extended Application Service

Create a new package:

Create a new Application:

Create a new file test.xsjs with the following contents:

Var userInput = $.request.parameters.get ("userStuff"); $.response.contentType = "text/html"; $.response.setBody (userInput)

This hello world application is a simple echo application: directly outputs the data that users send in through url.

Test:

After reading the above, have you mastered the method of SAP Server Side JavaScript solution? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report