[opencms-dev] .properties file

Dudu Zoltan dzoltan at gmail.com
Mon Jun 30 15:13:26 CEST 2014


Hi,

Is it possible to read a .properties file from within a module.
So, for instance, if I have a module com.myexample.mymodule with an action
class MyAction.class and a mymodule.properties file, is it possible to read
the .properties file from the action class?

accessing the file by name only (they are on the same path) does not work
and accessing by
'/system/modules/com.myexample.mymodule/classes/com/myexample/mymodule/mymodule.properties'
does not work also.

thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20140630/42b4df88/attachment.htm>


More information about the opencms-dev mailing list