This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where is the web.xml file?

 
Amy Gawlik
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Amy Gawlik
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for your help!
 
Govinda Rajulu
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Amy Gawlik,


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

Thanks & Regards,
Govindarajulu K
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic