I just deployed my app on Google App Engine, and the SmartGWT app is loaded at /gwtStart/...Application.nocache.js from my html file.
However, the following GWT code:
RootPanel.get("someDiv").add(new Img("animals/Elephant.jpg"));
renders this HTTP call:
GET /images/animals/Elephant.jpg HTTP/1.1
I would expect the HTTP call to look like this instead:
GET /gwtStart/images/animals/Elephant.jpg HTTP/1.1
i.e respecting the base path of the loaded js file.
As it is today, I need to edit the GAE app.yaml handlers in order to take care of the faulty calls.
Or is it just me?
Additionally, the following HTTP request fails unless I handle it via app.yaml.: GET /sc/skins/SilverWave/skin_styles.css HTTP/1.1
However, the following GWT code:
RootPanel.get("someDiv").add(new Img("animals/Elephant.jpg"));
renders this HTTP call:
GET /images/animals/Elephant.jpg HTTP/1.1
I would expect the HTTP call to look like this instead:
GET /gwtStart/images/animals/Elephant.jpg HTTP/1.1
i.e respecting the base path of the loaded js file.
As it is today, I need to edit the GAE app.yaml handlers in order to take care of the faulty calls.
Or is it just me?
Additionally, the following HTTP request fails unless I handle it via app.yaml.: GET /sc/skins/SilverWave/skin_styles.css HTTP/1.1
Comment