cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piroumian Konstantin <KPiroum...@protek.com>
Subject RE: JSP Generator problem
Date Fri, 19 Apr 2002 07:10:59 GMT
Hi!

> From: Jeremy Crosbie [mailto:jeremy@go2.com] 
> 
> Setup:
> 
> Win2k, JDK1.3.1_02, Tomcat 4.0.3, Cocoon 2.0.2/Cocoon 2.1-dev
> 
> I am having a problem with the Cocoon samples that use the 
> JSP generator as
> well as any code I write using that generator, I get a 404 
> error. I went
> back in the archives and saw that some fix was made on March 
> 28, but when I
> downloaded the latest development snapshot the examples still 
> did not work.
> Is this still a known problem? Is there a fix or workaround?

Have you looked into the logs to see what's the exact problem? Usually,
jasper-compiler.jar is needed to be placed in cocoon/WEB-INF/lib to make JSP
work in Cocoon. I'm not sure that just coping it there would work with the
latest Cocoon, because Cocoon uses Manifest.mf where all the needed jars are
listed, so either you should add an entry for jasper-compiler.jar there or
follow the instructions bellow:

	- get the latest CVS snapshot (source)
	- copy jasper-compiler.jar into libs/optional
	- build cocoon.war
	
Hope this will solve your problems.

But I would think twice before using JSP with Cocoon, cause there are some
portability issues with it. Why are you using JSP when you are using Cocoon?


Regards,
  Konstantin

> 
> --jeremy
> 
> ---------------------------------------------------------------------
> 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>
> 

---------------------------------------------------------------------
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