2008/10/17 Daniel Francisco Sabugal <[EMAIL PROTECTED]>:
> (req.getSession().getServletContext().getResource(attributeValue) == null) {

You can do it in another way.
Usually the "TilesRequestContext" is a "ServletTilesRequestContext",
that extends "ServletTilesApplicationContext" that implements the
"TilesApplicationContext".
Now, the TilesApplicationContext exposes the "getResource" method that
can get a resource both from ServletContext and from the classpath.
I think that your solution could be included in Tiles 2.1. Thanks for the idea!

Antonio

Reply via email to