This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
On creating a web application project i couldn't find any web.xml file in the latest netbeans IDE 7.1.2.
Is there any way to make it happen. Please help.
Note: Not sure whether i should post it in the servlets section or Net Beans, I request the moderator please move it to the appropriate section if necessary.
This forum is the best place since it is an IDEs question. While I'm not an expert with NetBeans, I've noticed it doesn't always show all files in the IDE. Is it possible the file is there on the filesystem and the IDE view just isn't showing it?
In the most recent servlet spec the web.xml is optional. Perhaps if you chose an earlier spec number when creating your project it would show up. And besides, you can always create one yourself (there is nothing "magic" about the one that the IDE creates).
Web.xml is optional in netbeans java web project,but we can add it.
In netbeans project hierarchy right click on web-inf folder choose standard deployment descriptor(web.xml) from list.