File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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!