cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kim Toms <kim.t...@gmail.com>
Subject mount-table question
Date Tue, 08 Feb 2005 04:36:06 GMT
I have cocoon-2.1.6 installed in c:\cocoon-2.1.6 on WIndows XP SP2
with a JDK installed in c:\j2sdk1.4.2_04.

I've modified the mount-table.xml file located in
c:\cocoon-2.1.6\mount-table.xml to read:
    <mount-table>
      <mount src="c:/cforms-dynamic-tutorial/" uri-prefix="ddd/"/>
    </mount-table>

I've unpacked the zip file from the page
http://wiki.apache.org/cocoon/CFormsMinimalExamples?action=show
 into c:/cforms-dynamic-tutorial/...

I start cocoon from "c:\cocoon-2.1.6" with the command "cocoon servlet".

When I visit the address "http://localhost:8888/ddd/", the webpage says:
    Resource Not Found
and
    C:\cocoon-2.1.6\build\webapp\c:\welcome.xml
could not be found.

The sitemap (unmodified), has the lines:
      <map:match pattern="">
        <map:generate src="welcome.xml"/>
        <map:serialize type="html"/>
      </map:match>

How do I write the mount-table entry so that the paths in the mounted
sitemap are relative to the directory that it's within?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message