Hi,

How 'opdracten' is related to 'images' folder (the one that is next to
WEB-INF) ?


On Tue, Nov 6, 2012 at 11:20 PM, Delange <[email protected]> wrote:

> Maybe it's easy but I struggle to long with it. In my webapplication I have
> this structure
> myapplication
>    css
>    images
>    WEB-INF
>      classes etc etc
>
> My Html looks like this
> <opdrachten/284/IMG_0013.JPG>
>
> My Java is:
>         StaticImage imageTest = new StaticImage("imagetest",new
> Model("/opdrachten/284/P1010841.JPG"));
>         form.add(imageTest);
>
> Then on my page the link is
> </opdrachten/284/P1010841.JPG>
>
>
> I also tried Image but that didn't work either. What's wrong?
>
> And what to do when the location in another directory on the same system?
>
>
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Image-source-location-problems-examples-did-not-help-tp4653664.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Reply via email to