Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

pg.80 chapter 3..is it a typo ?

 
nisha chidella
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In HFSJ. at page 80(Chapter 3.Mini MVC tutorial), the specs for the model class is given as:

The specs for the model:
-its package should be com.example.model.
-its directory structure should be /WEB-INF/classes/com/model



shouldn't the directory structure be /WEB-INF/classes/com/example/model ?


 
Rob Spoor
Sheriff
Pie
Posts: 20744
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why yes it should. The directory structure must match the package declaration.
 
nisha chidella
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
because in the book it's given it should be /WEB-INF/classes/com/model instead of /WEB-INF/classes/com/example/model. so, i wanted to confirm. the italic text in my post is from the book.

 
Harvinder Thakur
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes. a typo
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic