Remy Maucherat wrote:
>>Remy Maucherat wrote:
>>
>>>You can do that, but it's a lot more complex than that to do. Basically,
>>>
> you
> 
>>>need an implementation of a Tomcat 4 Resources written to access a Slide
>>>namespace (instead of, for example, the filesystem).
>>>I just wrote (yesterday) some docs on that:
>>>http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/resources.html
>>>
>>Bottom line; Tomcat 4.* makes use of the Resource impl through the
>>JspServlet, but there is no default Resource implementation that have
>>the "loopback mount" effect I'm looking for?
>>
> 
> Sorry, I think I misunderstood your question. What you want is serve the
> webapp which would be stored on a WebDAV server somewhere else, right ?
> I translated webdav -> slide; sorry.

No it would be slide or something similar running in the same container.

What I was thinking about was a mapper that did like this;

server gets request for /.../blabla.jsp -> uses mapper which finds 
JspServlet

JspServlet looks up /.../blabla.jsp with a Resource impl

The resource impl uses the mapper to find /.../blabla.jsp, which find 
JspServlet again

Since JspServlet was found the first time, it looks further in its 
mapping list, and now finds the next match, the generic mapping from / 
to the webdav servlet, so the webdav servlet looks up /.../blabla.jsp 
internally and returns the content.

I guess such a recursive lookup would be difficult, since the mapper 
would need to store resursivly what it  has allready mapped to.


But anyway, I'll go the easy route of writing a Resource impl that uses 
our internal api.


-- 
-Torgeir


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to