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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yo do not need to install any plugin:
File > New Files > XML > XML Documentfrom 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: