where's the resources/sap-ui-core.js?
I'm a starter of SAP UI5. I created a ui5 project using the eclipse project wizard.
In the index.html file, there's the bootstrap in the red box:
My question is: where's this resources folder? I looked all over the project structure, I didn't find a clue.
Could you tell me how does this line of code links to the sap-ui-core.js in detail?
Krishna Kishor Kammaje replied
Someone asked my question.
I think I figured it. May be use full to you.
Check the web.xml file inside WebContent->WEB-INF
- There is a a mapping for '/resources' path, pointing to a servlet, called 'ResourceServlet'.
- In the same file, this servlet points to a Servlet Class ''com.sap.ui5.resource.ResourceServlet"
Now this Servlet Class is available inside a jar file located here.
<Your Project> -> Java resources -> Libraries ->Web App Libraries->'com.sap.ui5.resource<your ui5 version>.jar
Since you are running 'Web App Preview', we are looking at 'Web App Libraries'.