Expand my Community achievements bar.

get context root (path) in abstractassembler

Avatar

Former Community Member
Hi, I have a problem getting the context root path of my web application inside my custom assembler fill method. So what I do is I extend the AbstractAssembler to create my custom assembler and I then I override the flex fill method. I would like to load a properties.txt file inside my fill method,the file is positioned in the context root of my web application, but I dont know how to get the context root (file path or url path) with the LDS Java API. I've tried FlexContext, but that just stores some watch file information.



Any help would be appreciated,



Miha
0 Replies