Showing results for 
Search instead for 
Did you mean: 

HANA Express UI5 application, 404 on non-HTML resources

Former Member
0 Kudos


After creating a UI5 application in Eclipse, adding a .xsaccess file and a .xsapp file, I can navigate to my index.html on http://host:8000/my/app/index.html.

In the same folder as index.html is Component.js, but this file produces a 404 from the XS Engine - and the same is true for other files in this folder / subfolders.

XSJS files seem to work though.

I might be missing a setting. How to expose JS/JSON files?

Accepted Solutions (0)

Answers (1)

Answers (1)

Active Contributor

If you did set the "expose: true" property in the .xsaccess file it should be accessible to (if index.html can be loaded).

What resource-roots did you define in the index.html, how did you load the component using a component container and what full qualified name (namespace + component) did you give the component?



Former Member
0 Kudos

Hi Florian,

That's what I thought at first too, but direct access doesn't work either. I have, in the same folder: index.html and Component.js.

index.html is cool:

Component.js is not:

Another argument against that is that it works through Web IDE as an XSJS app, and locally on my laptop.