Hi,

Move your Home.html up one level and everything will be just fine. (Tapestry looks in your context root for your .html files by default. This is the standard approach - and it works quite well. This allows for easy serving of assets - for example, notice where logo.png is going in this directory structure:

Home.html
  graphics/
    logo.png
  WEB-INF/
    Tidrapport.application
    web.xml
    classes/nu/localhost/tidrapport/tapestry/pages/
      Home.class
    lib/
      lots-of-jars.jar

You can then reference this logo as "context:/graphics/logo.png" in your .page file and as "graphics/logo.png" in your .html file (for previewability, that is). The same goes for all other assets, of course.

-Filip

Robin Ericsson skrev:
WEB-INF/
  Home.html
  Tidrapport.application
  web.xml
  classes/nu/localhost/tidrapport/tapestry/pages/
    Home.class
  lib/
    lots-of-jars.jar


regards,
Robin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to