If you want Lift to serve images you should put them in /resources/
toserve folder and reference them as /classpath/{image file}
If you want to put images say in /img folder at the same level with /
WEB-INF for example, you just reference tham /img/{image file} ...
these will not be served by Lift but by web container.
There is no need for SiteMap when serving other resources.
On Feb 27, 10:53 am, jack <[email protected]> wrote:
> I would like to access an image on the client via a URL. How do I
> generate that URL. Currently, I'm getting the error
>
> The requested page was not defined in your SiteMap, so access was
> blocked.
>
> I understand what this error means for html pages. How does it work
> for images?
>
> Thanks.
--
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en.