Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

editing xml file with jsp webapp

 
Philllip Brown
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm hoping somebody can point me in the right direction.

I have am xml file that I need a client to edit, I want to write a jsp page that they can fill in fields and delete info etc on the original xml file...

i'm disturbed and perplexed aswhere to start, can somebody please help me.#

kind regrads
 
Santhosh Kumar
Ranch Hand
Posts: 242
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guess you can have a textarea in the html file and put the xml you want user to edit. User can edit the file and submit when they are done.

 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13055
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By edit XML do you mean:
1. edit the content of existing fields, not changing the XML structure
-or-
2. edit both content and XML markup, adding or removing elements, attributes, etc.

For 1 you just need to create a normal form and populate it with the editable data. For 2 things get a LOT more complicated.

Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic