works, thanks. I have to add this:
@Inject @Path("context:/images/logo.jpg") private Asset logo; public Asset getLogo() { return logo; } then in the Layout.html, add: img src="${logo}" is there a way to directly specify it in the html? Marcus.Schulte wrote: > > yourWebApp/images > >> -----Original Message----- >> From: Angelo Chen [mailto:[EMAIL PROTECTED] >> Sent: Friday, August 24, 2007 1:07 PM >> To: users@tapestry.apache.org >> Subject: path to referenced files >> >> >> Hi, >> >> If I have something like following in the html, which >> directory should i put so that it can be picked up during run time: >> >> /images/logo.jpg >> >> Thanks, >> >> A.C. >> -- >> View this message in context: >> http://www.nabble.com/path-to-referenced-files-tf4322970.html# >> a12310389 >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/path-to-referenced-files-tf4322970.html#a12313869 Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]