3 Replies Latest reply on Jun 8, 2009 8:16 AM by Jasmin Charbonneau

    'Submit to URL' via Submit type Button

    FlexNewbie999

      Hi,

      I'm trying to post the contents of a .xdp file viewed as HTML via the RenderHTMLForm service. I want to post the contents of the form as xml input to a Java servlet. As an example, the url is localhost:8080/AppName/PostServletName - this is the target behind the submit button.

       

      The form posts back to itself (the URL and servlet that retrieved it

      initially) on submission at this point.

       

      Is this possible? And if so, how can I get a String value of the xml contents of the form (fieldName, fieldValue format). I want to write the xml content into an XML-type field into an Oracle database rather then parse and write field by field.

       

      Is this possible? I'm new so please bear with me...

       

      Thanks!