How to read a external file after deployment? [message #885626] |
Wed, 13 June 2012 06:52  |
Eclipse User |
|
|
|
Dear community,
I have an application built on RAP. In my application, I have a list of Strings. I want to have content of these strings configurable from an external file (e.g xml file) when user enter website. My app will read content of that file and the website will display the respective content (it's kind of config file).
For example, the path to website is as following:
{TOMCAT_HOME}/webapps/{my_app}/WEB-INF
After deployment, I want to add a file .xml to category WEB_INF, then my website will read the content of that file.
My question is how I can know the path of my app in webserver after deployment, because eclipse wrap the whole project into bundle. Or is there any other way to solve my problem?
Thank you very much!
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05575 seconds