Grzegorz Kossakowski-3 wrote:
>
> xweber pisze:
>> with the samples build from daisy i cannot manage to have a favicon.
>>
>> javax.servlet.ServletException: No block for /favicon.ico
>>
>> as message appears with mvn jetty:run from a Block or a webapp.
>>
>> Any hints to get this icon with sitemap?
>
> It's only my guess but I think you have to just mount your block at "/"
> and have "favicon.ico" match in sitemap. You can
> change mount path in
> src/main/resources/META-INF/cocoon/spring/servlet-service.xml file.
>
>
>
> Hope that helps.
>
> --
> Grzegorz Kossakowski
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
Hi Grzegorz,
no the behavior is in both cases (with mountpath / or mountpath /myBlock1)
<servlet:context mount-path="/myBlock1"
context-path="blockcontext:/myBlock1/">
the /favicon.ico request is initiated by the browser if no "special" favicon
is defines inside html header section.
Alex
--
View this message in context:
http://www.nabble.com/-cocoon-2.2.x----javax.servlet.ServletException%3A-No-block-for--favicon.ico-tf4083579.html#a11606744
Sent from the Cocoon - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]