Hi,

I'm implementing an Xquery Servlet as a block in Cocoon 2.2
Prior to Cocoon 2.2 I was able to define servlet-mapping in my web.xml.
Now, is there a way to get the same result when the Servlet is declared as a
Spring bean?
something like:

<bean name="XqueryServlet" class="org.my.class.servlets.XqueryServlet">
    <servlet:context mount-path="/xquery"
context-path="blockcontext:/xquery/">
    <servlet:init-params>
    <entry key="basedir" value="WEB-INF"/>
    <entry key="start" value="true"/>
    </servlet:init-params>
    <servlet:mapping>
    <entry value="*.xq"/>
    <entry value="*.xql"/>
    </servlet:mapping>
    </servlet:context>
    </bean>

Thanks,

Josh

-- 
View this message in context: 
http://www.nabble.com/servlet-mapping-in-Cocoon-2.2-bean--tp15028682p15028682.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


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

Reply via email to