• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

modification problem(modifying at the end)

 
madhuri kunchala
Ranch Hand
Posts: 350
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
in my xml file..im doing modification..but it is getting modified at the end..not at the required place...i used jsp page to enter the value...and it should check that value in xml file and do modification at that place...but im not getting...here is my code...

modify.java



thanks,
madhu.
 
madhuri kunchala
Ranch Hand
Posts: 350
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone help me regarding my problem..
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please wait longer than a half an hour before asking if someone can/will help you.

But the answer is probably no--500+ lines of code and a vague problem statement make it really difficult to help.
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried to run your code in debug mode ?? (HINT: create a main method, and then call createXmlTree(..) with required arguments)
 
madhuri kunchala
Ranch Hand
Posts: 350
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i tried..i didnt find any error
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
madhuri kunchala wrote:i tried..i didnt find any error


Why didn't you find where the XML is been modified wrong??

If you have debuged the method then you should have been able to see where in your code it is doing something wrong.
 
madhuri kunchala
Ranch Hand
Posts: 350
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i got it...
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By the way, as pointed in one another thread, a method with 50 parameters is not a good choice.
 
Michael Angstadt
Ranch Hand
Posts: 277
Eclipse IDE Java PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you post...a code sample...500 lines long...no one will read...your code...
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please be sure to ask XML questions in the XML forum. I have moved this post there for you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic