Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Netbeans and J2EE Project

 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Sam Kebab
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic