10.07.2001 09:23:16, "Remy Maucherat" <[EMAIL PROTECTED]> wrote:
>> whoa.
>> forget that one for now... it's broken.
>> I'm looking into it.
>>
>> 10.07.2001 08:53:34, Christopher Lenz <[EMAIL PROTECTED]> wrote:
>> >howdy,
>> >
>> >quick patch:
>> >add the servlet-path to HTML links generated when browsing
>> >directories. otherwise the links point into oblivion if the
>> >WebdavServlet isn't mapped to the root of the context.
>
>Yes, you're right.
>I copied code from Catalina's default servlet, and it's designed for
>a servlet mapped as the root only. The links are incorrect for any
>other mapping.
>
>Remy
>
yeah. now how'd you get the servlet path in a nice and efficient way,
correctly handling the case that the servlet is mapped as default
servlet (in which case HttpServletRequest.getServletPath() returns
what would normally be the path info of the request) ?? ugh.
</sorry-basic-servlet-api-question>
-chris
________________________________________________________________
[EMAIL PROTECTED]