Noah Mittman wrote:

> I've already looked for those and there are none.
> there's only two levels of sitemaps -- the root and this one -- and 
> this is the only matcher involving JSPs in either of them.
>
> On Tuesday, February 19, 2002, at 03:54  PM, David Stenglein wrote:
>
>> Take a look at the top-level sitemap, see if there are any
>> overly-broad matches for jsps.
>>
>> -Dave
>>
>>
>>
>> On Tue, 19 Feb 2002, Noah Mittman wrote:
>>
>>> I'm having a very odd problem -- "<uri_param>/jsp/file.jsp" is
>>> coming up as a 404 Not Found. I do have a matcher for this, in
>>> fact, for all JSPs in that directory:
>>>
>>>     <map:pipeline>
>>>         <map:match pattern="*/jsp/*.*">
>>>             <map:generate type="jsp" src="jsp/{2}.{3}" />
>>>             <map:serialize type="html" />
>>>         </map:match>
>>>     </map:pipeline>
>>>
>>> So why doesn't it work? And stranger still... why does calling
>>> "jsp/file.jsp" work when there is no matcher for it?
>>>
>>> [Cocoon 2.0.1]
>>
Try
<map:pipeline>
        <map:match pattern="*/jsp/*.*">
            <map:generate type="jsp" src="/jsp/{2}.{3}" />
            <map:serialize type="html" />
        </map:match>
    </map:pipeline>
Regards
Yury

>>>
>>>
>>> ---------------------------------------------------------------------
>>> Please check that your question has not already been answered in the
>>> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>>>
>>> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>> For additional commands, e-mail: <[EMAIL PROTECTED]>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> Please check that your question has not already been answered in the
>> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>>
>> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>> For additional commands, e-mail: <[EMAIL PROTECTED]>
>>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>




---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to