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.
Thanks for your help.

Josh



Grzegorz Kossakowski-3 wrote:
> 
> 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 request to xquery servlet, where
>> /exist-xquery-samples/guess.xql is considered as an URI?
> 
> Yes, I can confirm your assumption. I hope that you know how to setup
> Cocoon for debugging.
> 
> -- 
> Grzegorz Kossakowski
> Committer and PMC Member of Apache Cocoon
> http://reflectingonthevicissitudes.wordpress.com/
> 
> ---------------------------------------------------------------------
> 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 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