Hi Kiran,
Is this for a form that you created with Form Builder, or are you writing XForms by hand?
- If the former, I'd recommend you implement the Form Runner persistence API [1], using whatever technology you're comfortable with. Also, instead of using the RequestDispatcher, I'd recommend you use Form Runner Java Embedding API [2].
- If the latter, you can write your own <xf:submission> that sends the data to a service you implement, again using whatever technology you're comfortable with, and that saves the data to disk.
Does this help?
[1]
https://doc.orbeon.com/form-runner/api/persistence/[2]
https://doc.orbeon.com/form-runner/link-embed/java-api.htmlAlex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet