I've put this 3 lines in my sitemap.xmap. (found in
http://cocoon.zones.apache.org/demos/release/docs/userdocs/generators/directory-generator.html)
<map:match pattern="my*">
<map:generate src="my"/>
</map:match>
That is not what the page tells you to do.
Anyway, see below.
ok, I used exact syntax from the page
<map:match pattern="my">
<map:generate type="directory" src="my">
<map:parameter name="depth" value="2"/>
</map:generate>
</map:match>
, added section into sitemap.xmap
<map:generators>
<map:generator name="directory"
src="org.apache.cocoon.generation.DirectoryGenerator"/>
</map:generators>
used the suggestions from thorsten, the link is http://localhost:8888/my
now, but still the same error.
But when I click on the link, I get 'The requested resource "/my/" could
not be found.'
Search the recent archives (late last month?) of the
forrest mailing lists ("user" perhaps) where we helped
someone to do that. It is not hard.
haven't found any new documentation. ;(
Mirek