问题
I'm learning Java EE from scratch, and in the tutorial I'm following they're using netbeans to configure web.xml and other content descriptors (like Glassfish descriptor). Because they use it graphic interface from Netbeans, I can't find to do the same on Eclipse. Just the xml file. Is there a way to configure the web.xml from a graphic interface like I do in netbeans?
回答1:
A NetBeans tutorial that does not show you the resulting source from making edits in a GUI is worthless for Eclipse. Eclipse does not yet have editors for web.xml and other Java EE module descriptors. There are third party plugins with such editors, but they aren't going to match NetBeans editors.
You may also want to track the work at Eclipse to develop such editors:
http://projects.eclipse.org/projects/webtools.java-ee-config
来源:https://stackoverflow.com/questions/14805859/eclipse-edit-web-xml-like-netbeans-gui