File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Why the xml file changes by itself??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Why the xml file changes by itself???" Watch "Why the xml file changes by itself???" New topic
Author

Why the xml file changes by itself???

Blues Yang
Greenhorn

Joined: Jul 30, 2002
Posts: 9
Why the xml file changes by itself???
I edit xml file in Jbuilder7, after editing it, it changes by itself, why???
please help me , thank you, maybe I should config someting?
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

JBuilder will make changes to web.xml files. It's an IDE and when you add servlets (for example) it will add the necessary mappings to web.xml

Also, because JBuilder might not recognize or be aware of changes *you* make to the file, your changes may be overwritten. I haven't used JBuilder in a while, but this is not surprising behaviour for an IDE.
Blues Yang
Greenhorn

Joined: Jul 30, 2002
Posts: 9
thank you!
anybody meet the same things?
JohnJohn SmithSmith
Greenhorn

Joined: Aug 11, 2002
Posts: 7
When you run a web application within JBuilder, it modifies the web.xml to add a special jsp running servlet that will let you debug jsp's. I don't know how to turn it off. It really isn't a problem if you always stop the running web app before editing web.xml.
Jay
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Why the xml file changes by itself???