Hi!

> From: Jeremy Crosbie [mailto:[EMAIL PROTECTED]] 
> 
> 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: <[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]>

Reply via email to