The title says it all.
Is there any plugin for NetBeans 7.0 to generate sun-web.xml in a web project?
If yes, please let me know.
Yo do not need to install any plugin:
File > New Files > XML > XML Document from menu.in the DTD Options wizard enter following information:
DTD Public ID: -//Sun Microsystems, Inc.//DTD GlassFish Application Server 3.0 Servlet//EN
DTD System ID: http://www.sun.com/software/appserver/dtds/sun-web-app_3_0-0.dtd
Document Root: sun-web-app
Finally click on the finish button.
You have to know that glassfish-web.xml is the new name for sun-web.xml and for GlassFish server versions older than 3.1, this file is called sun-web.xml. You can create glassfish-web.xml using:
File > New Files > GlassFish > GlassFish Descriptor
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With