The first question you need to ask is are the assets static (ie defined at
build time) or dynamic?

If your assets are static, then you will either store them on the webcontext
or on the classpath
To access static assets in the webapp use "context:path/to/asset.gif"
To access static assets on the classpath use "classpath:path/to/asset.gif"
http://tapestry.apache.org/assets.html

If your assets are dynamic, you will probably want to store them in the
database or some other blobstore and use a StreamResponse to get them.
http://wiki.apache.org/tapestry/Tapestry5HowToStreamAnExistingBinaryFile

If building with maven or gradle, static assets should go in
src/main/resources or src/main/webapp
http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html







--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Where-to-put-my-Image-files-and-Video-files-tp5716995p5716997.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to