On Tue, 01 Jul 2014 17:16:57 -0300, Net Dawg <net.d...@yahoo.com.invalid>
wrote:
Is there an example of this? Meanwhile I found this nugget in SO:
http://stackoverflow.com/questions/19301034/how-to-get-the-asset-path-in-tapestry-5
The best approach I've seen (but not used, because I hate putting assets
in the filesystem outside the webapp) is this:
http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/T5-How-to-load-image-Asset-from-filesystem-tp2430256p2430271.html.
You should be very careful about security, though: your implementation
should limit which folders should be accessible. Otherwise, people can
manipulate it to download any file from your file system.
--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org