cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chitharanjan Das" <>
Subject RE: JSPGenerator problem
Date Thu, 07 Feb 2002 14:44:13 GMT
	Shouldn't your generator point to JSP pages....
<map:generate type="jsp" src="../../{1}.jsp"/>


-----Original Message-----
From: MOODAD (Shadi LB Soft) [] 
Sent: Wednesday, February 06, 2002 10:55 PM
To: cocoon-dev;
Subject: JSPGenerator problem

I'm trying to execute a jsp file under cocoon but I have a small porblem
that i didn't found a solution. 
I'm using this configuration: 
   <map:match pattern="**.jsp"> 
    <map:generate type="jsp" src="../../{1}.xml"/> 
    <!--map:transform src="../../xml2fo.xsl"/--> 
so when executing a jsp I got the following error: 
org.xml.sax.SAXParseException: Document root element is missing. 
        at org.apache.crimson.parser.Parser2.fatal( 
        at org.apache.crimson.parser.Parser2.fatal( 
but the jsp is a well formed xml and it execute from the tomcat. 
so i trace the error in the code of the JSPGenerator.class and I found
that the request URI is correct but the size of the
httpRequest.getInputStream().available() is = 0.????? strange. 
I'll be very thanxfull if someone have an ideas on that problem or could
give me some hints to the solution. 
thanx in advance 
Soft Solutions, Liban 
Net Developper 
Moodad Shadi 

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message