Give filter init param dynamically

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Give filter init param dynamically

kushp
I've successfully embedded Orbeon in my web application. I've followed the steps on this page https://doc.orbeon.com/form-runner/link-embed/java-api.html. I want to know while mentioning the filter init param of the form runner, can it be configured elsewhere rather than hardcoding in the web.xml file? I've a configuration file in XML format to contain the system properties. I want the form runner url to be specified in the config file and assign the filter init param dynamically to ther embedding servlet. The reason being, Orbeon war will be deployed at different servers for different clients. Thus I don't want to end up updating the web.xml for each client server. If they can be given in the config file, it would be convenient.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Give filter init param dynamically

Alessandro  Vernet
Administrator
Hi Kush,

If using Tomcat, you can set or override the value of servlet parameters in
Tomcat's `server.xml` (or relevant `context.xml`). You can find an example
of this in this section:

https://doc.orbeon.com/xml-platform/resources/external-resources.html#with-tomcat

You'll let me know if this works for you.

Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet