File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes Netbeans and J2EE Project Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Netbeans and J2EE Project" Watch "Netbeans and J2EE Project" New topic
Author

Netbeans and J2EE Project

Gregg Bolinger
Sheriff

Joined: Jul 11, 2001
Posts: 15040

I am using Netbeans 3.4.1 which is the current release. I go in and create a new project. I add a Web Module to the project. Then I add a Servlet to the project. I tell it to add the information to the web.xml file, click on finish. And the web.xml file has not been updated with the servlet configuration data. Anyone else have this problem?


My Blog | DZone Articles
Sam Kebab
Ranch Hand

Joined: Jan 23, 2002
Posts: 104
Greg
When you create the web module inside your root folder Netbeans creates a new node -- the class node -- in anticipation of you creating your classes/beans/servlets. Try creating your classes inside this node.
This "node" can be seen in the solution explorer left portion of the screen. Again, the node will come out immediately after you create your web module. Click highlight, then right click, add new Servlet.
 
 
subject: Netbeans and J2EE Project
 
Threads others viewed
noob question about a 404 - POST warning
Upgrading to Tomcat6 problems
Web.xml not displayed in Netbeans 6.9.1 instead sun-web.xml is being displayed
Not able to run servlet by right clicking the servlet in Netbeans
running a servlet
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com