cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <>
Subject [c22] Mounting a block at root "/"
Date Wed, 10 Oct 2007 14:12:21 GMT
Hanne Moa wrote:
> Reinhard Poetz wrote:
>> Hanne Moa wrote:
>>> Per today, the tutorial at
>>> ( in Daisy)
>>> is rather deeply flawed.
>>> Following the recipe by the letter, running "mvn jetty:run" at the end,
>>> leads to jetty running but showing an empty page and an exception
>>> complaining that there is no block for '/', or to be exact:
>>> javax.servlet.ServletException: No block for /
>>> ...snip...
>>> javax.servlet.ServletException: No block for /favicon.ico
>>> ...snip...
>>> So... either some steps are missing from the tutorial, the steps have
>>> changed, or there are errors in the versions that maven fetches.
>>> Tell me what to do and I'll see if I can update the tutorial.
>> What was the URL that you tried: http://localhost:8888/ or
>> http://localhost:8888/myBlock1/? Only the latter one will work because
>> by default the Maven plugin mounts a block using its name.
> The former. A difference that need to be more clearly marked, then.
> 2.1.x had something at '/' by default, right? What would one do to get a
> block at '/', rewrite somewhere?
> The favicon-problem is just a warning but how would one add a favicon?
> This of course connects to how to get a block at '/' :)

see, the last paragraph.

Reinhard Pötz                            Managing Director, {Indoqa} GmbH

Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member, PMC Chair

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message