Reinhard Poetz wrote: > Hanne Moa wrote: >> Per today, the tutorial at http://cocoon.apache.org/2.2/1159_1_1.html >> (http://cocoon.zones.apache.org/daisy/cdocs/g2/g2/g1/1159.html 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 '/' :) HM --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]