How to access global config value in java JSP

Interested in talking about Mash-up's? This is the place.
Post Reply
vdagost-fr
Posts: 43
Joined: Mon Apr 11, 2016 11:59 am

How to access global config value in java JSP

Post by vdagost-fr »

Hi guys

I've got this config key/value in my zimlet :

Code: Select all

<zimletConfig name="my_zimlet" version="1.0">
    <global>
   <property name="x">value xyz</property>
    </global>
</zimletConfig>
In javascript It can be accessed with this.getConfig("x") and I got "xyz".

How to access the value by its key in java code .jsp ?

Regards
Victor
vdagost-fr
Posts: 43
Joined: Mon Apr 11, 2016 11:59 am

Re: How to access global config value in java JSP

Post by vdagost-fr »

Anyone ?

I could code some lines in java to manualy parse this resource file but I don't think it is the good way to do it :)
Post Reply