Hi,
I have a xform:submission element of type replace="all" that submits
to a servlet in a separate war. The servlet gets called and the data
passed just fine but
I cannot get the servlet to sendredirect or dispatch to another page.
The page comes back blank with this url :
http://localhost:8080/onlineForm/orbeon/xforms-server-submit.
Can anybody help?
Here is my submission element
<xforms:submission id="save-cand-data" validate="false"
method="post"
action="
http://localhost:8080/onlineForm/xforms/FetchForm?op=save"
replace="all" ref="instance('fr-metadata')">
Here is the relevant servlet code
public void doPost(......)
{
final OAPersister persister = new OAPersister(service,
neededTables);
persister.saveForm(req.getReader());
res.sendRedirect("
http://www.yahoo.com");
//RequestDispatcher dispatcher=
req.getRequestDispatcher("/onlineForm/submitOk.html");
}
Thanks in advance for any feedback
--
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