struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "j alex" <strutstwou...@gmail.com>
Subject S2 / FTL : Getting application params in FTL
Date Mon, 27 Aug 2007 21:09:55 GMT
Hi,

How do i access params defined in web.xml in the FTL ? ; In my app, all the
images are located at a particular path which is defined as

    <context-param>
        <param-name>GLOBAL_IMAGES_ROOT</param-name>
        <param-value>www/abc/def/images</param-value>
    </context-param>

and i want to show an icon from this directory within the FTL . How would i
make GLOBAL_IMAGES_ROOT available to the FTL markup?

<img src="${Application.LOCAL_JS_ROOT}/icon.gif"> does not work

Please help,
Joseph

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message