facebook

Help with auto updating of web.xml

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #229214 Reply

    gavy
    Member

    Dear All

    i am pretty new to this editor.

    I have successfully import my existing web application under tomcat into a project. I have followed the structure to place my src file. The project do build itself and run ok…..but there is one thing…..the web.xml don’t automatically update itself. When i added a new servlet it’s fine, but when i try to change the name of the servlet or deleting it, the IDE would not update web.xml. And this is so much of a pain.

    this is done prefectly fine in netbeans and i consider it as a less powerful IDE then myEclipse…..and with this powerful IDE…i am sure there are ways to do this….Plesase could you guys guide me to the right direction

    i really enjoy eclipse…and i dun want to switch back to netbeans becase web.xml cannot update itself by the IDE

    Please Please Please help me!….thanks a millions

    #229228

    Scott Anderson
    Participant

    I think the confusion is that MyEclipse takes a different approach than Netbeans to update your web.xml file. While Netbeans apparently mofidies it for each change, MyEclipse uses XDoclet (http://xdoclet.sourceforge.net/xdoclet/index.html) to completely regenerate the web.xml file when you request. You still don’t have to make changes to it manually, but the update is just different. For information on using our XDoclet support with web projects, please see the XDoclet web development tutorial here: http://myeclipseide.com/Articles/XDocletWebTutorial.html

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Help with auto updating of web.xml

You must be logged in to post in the forum log in