Login  Register

Re: xql files in Orbeon

Posted by Alessandro Vernet on May 12, 2009; 10:27pm
URL: https://discuss.orbeon.com/xql-files-in-Orbeon-tp43206p43211.html

gunmanas wrote
In web.xml I add code:

<servlet> 
        <servlet-name>org.exist.http.servlets.XQueryServlet</servlet-name> 
        <servlet-class>org.exist.http.servlets.XQueryServlet</servlet-class> 
 
        <init-param> 
            <param-name>uri</param-name> 
            <param-value>xmldb:exist:///db</param-value> 
        </init-param> 
    </servlet> 
     
    <servlet-mapping> 
      <servlet-name>org.exist.http.servlets.XQueryServlet</servlet-name> 
      <url-pattern>*.xql</url-pattern> 
    </servlet-mapping> 

But I still cant load xql files...
That looks right. And what is your <servlet-mapping> for the Orbeon Forms servlet? Are you sure that the one above is kicking in when you access a URL with *.xql?

Alex