Expand my Community achievements bar.

Capturing xml output from PDF or HTML in a servlet?

Avatar

Level 2

I have a form that's being posted via a Submit button to a named servlet. The output has been defined as XML. The servlet is found on submission. How do I extract the xml output via the LiveCycle API in Java?

Thanks!

1 Reply

Avatar

Level 10

We've talked about this on another post.

You don't need a LC api to get the data in your servlet. When you post the data from the form, the xml data is sent as part of the HTTP request object.

In your servlet you can get the xml data from the request.getInputsteam method.

Jasmin