cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Stevens <at...@hotmail.com>
Subject RE: JSP problem
Date Tue, 14 Aug 2007 00:21:36 GMT

> Date: Mon, 13 Aug 2007 15:37:46 -0400
> From: denis.boisse@umontreal.ca
> 
> I have Cocoon version 2.1.10
> I have tomcat version 6.0.10
> I have Java version 1.6
> 
> I put these lines in the sitemap:
> 
> 
>   
> 
> 
> The file testJSP.jsp only display "Hello World"  
> 
> When I type the URL "http://localhost:8080/cocoon/revue/testJSP.html"
> 
> I have the following error:
> 
> org.apache.jasper.JasperException: 
> Impossible de compiler la classe pour la JSP  
> (English: Not able to compile JSP classe)
> 
> If somebody knows something ?

Which jsp-engine implementation is specified in your cocoon.xconf, and how is it configured?
What exactly do you have in the JSP?  Just the "Hello World" text, or are there any scriptlets
or JSP tags?  Does it use the original JSP style or XML-based equivalent?  Is there an @page
directive?  Is there anything else in the stack trace (or any nested exceptions) to indicate
why it can't compile (e.g. ClassNotFoundException of any referenced classes)?  If you copy
the JSP file into some other (non-Cocoon) web app and call it directly, does it work?


Andrew.
-- 
http://pseudoq.sourceforge.net/
Open source java Sudoku application

_________________________________________________________________
The next generation of MSN Hotmail has arrived - Windows Live Hotmail
http://www.newhotmail.co.uk
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message