[MarkLogic Dev General] Passing parameters to .xqy files

Runstein, Robert E. (Contr) (IS) Robert.Runstein at ngc.com
Thu Apr 16 06:43:20 PDT 2009


HI,

I have a Tomcat application that needs pass search criteria to MarkLogic
and return the results.  What is the best way to handle this?  I am
considering putting all the logic to create the xquery and execute it in
.xqy files.  Tomcat would open a URL connection to MarkLogic and pass
the search criteria in the query string and return the results in the
HttpResponse.  How do I get access to the HttpRequest parameters within
a .xqy file.  I'm very new to MarkLogic, so if this is totally the wrong
approach, please advise a better way to do this.

Best Wishes,

Bob Runstein

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://xqzone.marklogic.com/pipermail/general/attachments/20090416/c9825324/attachment.html


More information about the General mailing list