This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Netbeans and J2EE Project" Watch "Netbeans and J2EE Project" New topic
Author

Netbeans and J2EE Project

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

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?


GenRocket - Experts at Building Test Data
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Netbeans and J2EE Project