On Fri, Jul 4, 2008 at 11:13 AM, Torgeir Veimo <[EMAIL PROTECTED]> wrote:

> ...It would be handy if the servlet containers JSP servlet could
> resume processing if a URL was not handled by the sling servlet....

If you request a .jsp resource that is not in the repository, the
Sling resource resolver will select an
o.a.s.api.resource.NonExistingResource, with a resource type of
"sling:nonexisting".

This means you could create a servlet to handle this resource type
(@scr.property name="sling.servlet.resourceTypes"
value="sling:nonexisting"), which could then forward to the servlet
container as needed.

To experiment with this, you can also create a
apps/sling/nonexisting/nonexisting.esp script in the repository.

-Bertrand

Reply via email to