Could be because WEB-INF/pic/test.png is a relative path.

try /WEB-INF/pic/test.png

Geoff

On 2/24/06, Łukasz Pachciarek <[EMAIL PROTECTED]> wrote:
> Hi
> I want to insert image into web page this way:
> in html template :
> <img jwcid="@Image" image="ognl:assets.pg"/>
> and in page spec
> <context-asset name="pg" path="WEB-INF/pic/test.png"/>
> and finally I have this in browser:
> Unable to locate asset "pg" of component Menu as
> context:/WEB-INF/pic/test.png.
> file exists in filesystem.
>
> thanks
>
> --
> Łukasz Pachciarek
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
The Spindle guy.          http://spindle.sf.net
Get help with Spindle:   
http://lists.sourceforge.net/mailman/listinfo/spindle-user
Blog:                     http://jroller.com/page/glongman
Feature Updates:          http://spindle.sf.net/updates

Reply via email to