This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Netbeans and J2EE Project" Watch "Netbeans and J2EE Project" New topic

Netbeans and J2EE Project

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

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
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.
I agree. Here's the link:
subject: Netbeans and J2EE Project
It's not a secret anymore!