/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/servlet-mapping-in-Cocoon-2.2-bean--tp15028682p15914204.html
Sent from
Josh2007 pisze:
Sorry to get back so late.
I debugged Cocoon and eXist and found the problem.
eXist XQueryServlet expects an URI in order to be executed. I modified the
code so it can receive content and everything works just fine.
Have you considered sharing your experiences with others? I
://www.nabble.com/servlet-mapping-in-Cocoon-2.2-bean--tp15028682p15918391.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]
commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/servlet-mapping-in-Cocoon-2.2-bean--tp15028682p15145469.html
Sent from the Cocoon - Users mailing list archive at Nabble.com
Josh2007 pisze:
Hi Grzegorz,
I ran my webapp, but the same error occured.
Before going further I need to clarify one point about ServletService.
If I call my servlet this way:
map:generate src=servlet:xquery:/exist-xquery-samples/guess.xql
type=file/
it's the same as making an http
Josh2007 pisze:
Thanks Grzegorz,
No problem.
Servlet implementation and Spring bean registration:
I've, then, been able to set my XQuery Servlet in a block registered as a
bean.
I patched the block web.xml to implement eXist database servlet, and add the
required dependencies in the
=org.exist.http.servlets.XQueryServlet
servlet:context mount-path=/test2
context-path=blockcontext:/test2//
/bean
Any idea?
Regards,
Josh
--
View this message in context:
http://www.nabble.com/servlet-mapping-in-Cocoon-2.2-bean--tp15028682p15096282.html
Sent from the Cocoon - Users mailing list archive
Josh2007 pisze:
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?
You can still use web.xml for defining
/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