getting closer but not there yet. I guess the issue is with the blockcontext string I am using. the block created by the maven is called myBlock1. When I change this to (for example "hello") nothing works. I do change this from myBlock1/META-INF/cocoon/spring/servlet-services.xml:

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:servlet="http://cocoon.apache.org/schema/servlet"; xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd http://cocoon.apache.org/schema/servlet http://cocoon.apache.org/schema/servlet/cocoon-servlet-1.0.xsd";>
 <bean id="com.mycompane" class="org.apache.cocoon.sitemap.SitemapServlet">
<servlet:context mount-path="/myBlock1" context-path="blockcontext:/myBlock1/"/>
 </bean>
</beans>



If I put: <servlet:context mount-path="/hello" context-path="blockcontext:/hello/"/>

then it fails. Do I need to modify something else in other place to get this to work ?



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

Reply via email to