cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Foo" <foo_ch...@hotmail.com>
Subject Re: Sitemap / Subsitemap
Date Fri, 03 May 2002 18:34:47 GMT
hello,
i hope someone can help me with sitemap/subsitemaps. in the sitemap located 
in the default cocoon directory (d:\tomcat\webapps\cocoon\sitemap.xmap) 
contains the sub-sitemap mount

    <map:match pattern="admin/**">
    <map:mount uri-prefix="admin" src="file:///d:/tomcat/webapps/admin/" 
check-reload="yes"/>
  	</map:match>

in the the sub-sitemap directory the sitemap file contains:

     <map:match pattern="*">
     <map:generate type="jsp" src="{1}.jsp"/>
     <map:serialize type="html"/>
     </map:match>

if i browse to <http://localhost:8080/cocoon/admin/welcome> the welcome page 
should be displayed, but i receive a "The root element is required in a 
well-formed document." any suggestions? the welcome.jsp is in the admin 
directory and it's the same welcome.jsp that is included in the sample 
cocoon files..

thanks,

chris





_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


Mime
View raw message