Skip to Content
avatar image
Former Member

Adding Contents to an XML file at runtime using JAVA WebDynPro

Hi All,

i am using an XML file as a source to my j2EE applicaiton(using Java Beans),

i have some data in XML file,,now at runtime when i press the ADD button the contents in the fields should append into my existing XML file.. I am very new to this WebDynpro.can u please help me in this issue..

I created a popup for Add Screen where in we can enter the values to add..

Chaitanya

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Mar 28, 2007 at 05:07 AM

    Hai,

    create the Action as ADD and bind this action to a button.

    If you want to update the node of an xml file simply delete the node and add new node. you can use DOM prarser to add/delete the nodes in xml file.

    this may help you.

    http://www.java-samples.com/showtutorial.php?tutorialid=152

    regards,

    naga

    Add comment
    10|10000 characters needed characters exceeded