Hi, It's not the <jsp:include ...> Tag a problem. The same error is without this Tag. Only the hello.jsp in cocoon/docs/samples/jsp/-Directory works fine.
It's perhaps a Directory-Problem? gruss christian > -----Ursprüngliche Nachricht----- > Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] > Gesendet: Mittwoch, 30. Januar 2002 17:41 > An: [EMAIL PROTECTED] > Betreff: RE: JSP-Generator-problem > > > Can you try without <jsp:include> ? May be it causes the problem. > Does simple hello.jsp works for you? > > Vadim > > > From: Bucholdt, Christian [mailto:[EMAIL PROTECTED]] > > > > If I tried without <map:transform ...> Tag there is the old error: > > org.apache.cocoon.ProcessingException: SAXException > JspGenerator.generate(): > > org.xml.sax.SAXParseException: The root element is required in a > well-formed > > document. > > > > I 'm thinking, the JSP-Generator-Output is not well-formed. > But if you > see > > the code in my first posting - it's well-formed. > > > > <%@ page language='java' session='false'%> > > > > <%! > > public void jspInit() > > { ... } > > %> > > <page> > > <jsp:include page="start_1.jsp" flush="true" /> > > </page> > > > > The file start_1.jsp is also well-formed: > > <content> > > <para>Test</para> > > </content> > > > > It is possible, that the JSP-Generator ignore the last </page> Tag. > > > > If I try this example with Tomcat 4.0.1 in a *.war-file an > IE 5.5 as a > > client (without XSL-Stylesheet), the IE shows well-formed XML. > > > > Should I specify a special jsp-Directory in a Config-file? > > > > gruss > > christian > > > --------------------------------------------------------------------- > 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: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>