wood burning stoves 2.0*
The moose likes IDEs, Version Control and other tools and the fly likes Where is the web.xml file? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Where is the web.xml file?" Watch "Where is the web.xml file?" New topic
Author

Where is the web.xml file?

Amy Gawlik
Greenhorn

Joined: Mar 19, 2012
Posts: 2
Hello-
Complete beginner here. I am working my way through Murach's Java Servlets and JSP 2nd edition and have run into a snag.

I am using Netbeans 7.1.1 I am on chapter 3 of the book and have created a new project file called testApp (new web application). I am confused because in the project folders I do not see the web.xml file under WEB-INF as it says I should. Is that something that changed due to the version differences in the book and what I'm using? (book is based on Netbeans 6.0). Where in the heck is the web.xml file??

Thanks for being kind with your response, as I'm sure this is a simple question.

Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

In the newest version of Java EE, the web.xml file is optional. So apparently that book is dealing with an earlier version of Java EE. If the file is missing, you can always create it.


JBoss In Action
Amy Gawlik
Greenhorn

Joined: Mar 19, 2012
Posts: 2
Thank you for your help!
Govinda Rajulu
Greenhorn

Joined: Sep 03, 2012
Posts: 1
Amy Gawlik,


Hi which book you refer for working with Netbean IDE for Java and J2EE application.

Thanks & Regards,
Govindarajulu K
 
jQuery in Action, 2nd edition
 
subject: Where is the web.xml file?
 
Similar Threads
How to run JUnit test in Netbeans 4.0
WEB.XML file not found when using Ecllipse IDE
Netbeans and J2EE Project
jstl and netbeans
Struts2 & XWork