You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Chris Foo <fo...@hotmail.com> on 2002/05/06 15:33:47 UTC

Re: JSP Generator

Hi,

Has anyone had difficulties with the JSP Generator and applications (i.e
sub-sitemap) _not_ being located in the directory
<$TOMCAT_HOME%webapps\cocoon\>? I receive the error message, "The root
element is required in a well-formed document." In the main sitemap, I have
mounted a sub-sitemap:

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

and in the sub-sitemap:

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

  There is a bug error that is listed on the page
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2631>, however, I am
unsure whether it is the same problem. Any suggestions would be much
appreciated..

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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>