Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Clarified asset location in a typical Maven project layout

...

Assets are most commonly stored in the web application's context folder ... stored inside the web application WAR file in the usual JEE fashion. In a project following Maven's directory layout conventions, this would be src/main/webapp or a subdirectory of it (but not under src/main/webapp/WEB-INF) In addition, Tapestry treats files stored on the classpath, with your Java class files, as assets visible to the web browser.

Assets are exposed available to your code as instances of the Asset interface.

...