Re: [Xsltforms-support] Calling jsp from xquery on XSLTFORMS for online submission
Brought to you by:
alain-couthures
From: Efraim F. <efr...@gm...> - 2011-03-21 13:22:26
|
Hi, On 03/21/2011 04:54 AM, srividhya wrote: > > hi, > Am working on XSLTFORMS in eXistdb. Am trying to call jsp from > xquery on > XSLTFORMS but it is not working I don't think there's enough information in your question to figure out what's going on. Can you try: (1) A minimal but runnable example of the problem. Does the submission work, if, instead of calling JSP, you call an XQuery stored in the database? (A simple test query might just output the posted data to the console, for example, this one-liner: util:log-system-out(('DEBUG: Submitted data:', request:get-data())) ) (2) Use XSLTForms' debug mode to find whether the submission is ever being called, and if so, what status it returns (xforms-submit-done, xforms-submit-error) (2) Use Firefox's Firebug, Chrome's Developer Tools, or equivalent to watch network activity. When the submission is triggered: is there any network activity? If so, is what's being sent in the request what you think it should be? what's the response's status code? Is what you receive in response what you think it should be? Hope this helps, -- --- Efraim Feinstein Lead Developer Open Siddur Project http://opensiddur.net http://wiki.jewishliturgy.org |