Roberto Fornasiero wrote:

But now i've another problem:
this is the message that i get from Lenya:
org.apache.cocoon.ProcessingException: Exception JspGenerator.generate(): 
org.apache.avalon.framework.component.ComponentException: Could not find 
component (key [org.apache.cocoon.components.jsp.JSPEngine])

I don't know how to solve this problem:
I've put cocoon-jsp-block.jar in the lib directory,
I've added the jsp declaration in cocoon.xconf:

<jsp-engine>
<parameter name="servlet-class" value="org.apache.jasper.servlet.JspServlet"/> </jsp-engine>

you need to add the role for jsp-engine to cocoon.roles:

  <role name="org.apache.cocoon.components.jsp.JSPEngine"
        shorthand="jsp-engine"
        default-class="org.apache.cocoon.components.jsp.JSPEngineImpl"/>

what i suggest you do to make sure you get it all, is to rebuild cocoon with the jsp block enabled, and then use that cocoon to rebuild lenya. this will get you the jsp settings automatically.

in any event, you need to apply the configuration from

http://svn.apache.org/viewcvs.cgi/cocoon/branches/BRANCH_2_1_X/src/blocks/jsp/conf/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to