Login  Register

Post to Servlet from FormBuilder

Posted by lak on Dec 14, 2009; 5:10am
URL: https://discuss.orbeon.com/Post-to-Servlet-from-FormBuilder-tp963321.html

Hi
How can I send xform created using the FormBuilder to a servlet of my application

Here, I created  a xform  in the builder and saved, published.
Now i have to write a separate persistence layer where a servlet will process my data. For this I added the below line in web-inf/resources/config/form-runner-properties.xml file

 <property as="xs:anyURI"  name="oxf.fr.persistence.app.Sample.uri" value="http://127.0.0.1:18080/TestOrbeon/cusorb.do"/>

I copied the war file of my java application contains servlet to the Tomcat home where Orbeon.war is residing.

Then I restarted Tomcat and opened formBuilder summary page and selected the application "Sample"
from summary page. Now I click save & publish buttons ( not sure which will post the form to my servlet)
I didn't see any thing coming to my servlet

Appreciate your help
-lak