In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
Today, I will talk to you about what the loading logic of SAP UI5 sap-ui-core.js is, many people may not know much about it. In order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.
Created by Wang, Jerry, last modified on May 09, 2016
If you write like this, it's okay.
That's right. This way is to load sap-ui-core.js this important file through an absolute path.
If it is changed to this relative path:
Someone asked exactly the same question as you on SCN. When you encounter problems, you should be good at using scn and google:)
Where's the resources/sap-ui-core.js?
After pressing F 12 to open development tool, you can see the sap-ui-core.js in Sources tab.
So if I run the ui5 program locally with tomcat, how do I know where the sap-ui-core.js is load locally?
You can use Network tab in Chrome development tool and enter sap-ui as filter:
Then click on one of the files and you can find the answer in http response's field x-sap-ResourceUrl.
Go to your local folder and see if you can find this file.
You will find that this folder is just temp folder, which is when you run as server in Eclipse, Eclipse automatically unlocks the js in UI5 core library and puts it in this temp folder for loading.
But this is just how we develop and do unit testing in Eclipse. If the customer uses our UI5, this is not the way to load sap-ui-core.js. Specific ways can wait for you to learn after on board, because this requires the knowledge of netweaver.
About some of the knowledge you asked about Servlet in web.xml:
After reading the above, do you have any further understanding of the loading logic of SAP UI5 sap-ui-core.js? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.