my dog learned polymorphism
The moose likes JSP and the fly likes editing xml file with jsp webapp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "editing xml file with jsp webapp" Watch "editing xml file with jsp webapp" New topic

editing xml file with jsp webapp

Philllip Brown

Joined: Jun 29, 2006
Posts: 3
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

Joined: Nov 07, 2000
Posts: 242
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

Joined: Mar 22, 2000
Posts: 13025
By edit XML do you mean:
1. edit the content of existing fields, not changing the XML structure
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.

I agree. Here's the link:
subject: editing xml file with jsp webapp
jQuery in Action, 3rd edition