Re: Redirecting the browser to another jsp page on xforms submit
Posted by
Tambet Matiisen on
Nov 19, 2010; 7:06am
URL: https://discuss.orbeon.com/Digitally-sign-submitted-data-tp3013795p3049958.html
On 18.11.2010 12:27, Somya Rajesh Agarwal wrote:
> Hi all,
>
> I am building my xform integrated with jsp. When I submit the form I wish to redirect the browser to another jsp page. Also I want to process the data submitted from the initial xform on this new jsp page.
>
> How can this be done? Kindly help.
You should use <xforms:submission> with replace="all" attribute. Like this:
<xforms:submission action="another.jsp" method="post" replace="all"/>
(actually, replace="all" is default, so you can omit it)
To process the data you should read the XML from input and parse it with
XML parser. You can get the input data with:
servletRequest.getInputStream();
Regards,
Tambet
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws