I am trying to construct a web page on the fly.
The complete web page relies on a .js file and a .css file.
It also needs to by done separately depending on a BO.ID
So here is where I have got to.
I can successfully create a folder with name = BO.ID. Let's, for example call it myfolder. That automatically gets created under C:\AwareIM\bin
I can successfully copy the required .js file and .css file into my folder.
I can successfully construct the webpage and end up with it in myfolder. Assume it is called mypage.html
Now here is the dilemma.
I then want to display the web page.
From outside of Aware IM I can just open mypage.html in a browser and it all works.
However, I have had no success opening the page from within Aware. DISPLAY URL does not work.
I believe this is because, even though Aware has visibility of the folder... Tomcat doesn't. Tomcat think the root web folder is webapps/AwareIM/
So, I tried creating the folder under webapps/AwareIM/
I can create it and I can open it but the page does not recognise the .js and .css file that the page relies on.
I have tried placing them in AwareIM/Custom/JS and AwareIM/Custom/CSS respectively and changing the paths (and even removing the paths thinking Aware will automatically load them) to no avail.
Am wondering if anyone has done this sort of thing and can suggest the trick to make it work?