Thiago H. de Paula Figueiredo schrieb:
Em Mon, 21 Sep 2009 06:33:29 -0300, Sebastian Hennebrueder
<use...@laliluna.de> escreveu:
Hello,
Hi!
while reading through the JSF 2 spec I found the packaging instruction
of resources.
JSF 2 will allow to pack any kind of resources in a dedicated
directory 'resources'.
META-INF/resources/<resourceIdentifier>
If we would follow this approach, we could get rid of the access
problem immediately without the need of a request filter.
What do you think?
It won't solve the problem, as files that need to go to the classpath
(hibernate.cfg.xml, for example) will still be downloadable.
I think it would. hibernate.cfg.xml is in the class path whereas all
public resources are in
META-INF/resources. Basically we stop serving directly from the
classpath but instead deliver content using META-INF/resources as root.
If you want to have something public available you put it in there.
--
Best Regards / Viele Grüße
Sebastian Hennebrueder
-----
Software Developer and Trainer for Hibernate / Java Persistence
http://www.laliluna.de
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org