Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dought about web.xml

 
luis meira
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi everybody,
i've been reading the sybex book for this certification and i have the following dought.
are this tag's correct :
<context path="/eshop" docbase="/" reloadable="true" >
<context-param>
<param-name>xpto</param-name>
<param-value>teste</param-value>
</context-param>
</context>
i'm geting an error when startinhg up tomcat.
it doesn't seems to like the context tag.
i took a look at dtd and i didn't find this tag defined, does this tag realy exists or this another book error.
best regards
Luis Meira
 
Maha Annadurai
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no <context> tag in Servlet 2.3 web.xml DTD. It is an error.
Can soemone post the Sybex book's online errta link ?
Thanks!

Regards,
Maha Anna
 
Maha Annadurai
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK. I got it. Here is the Errta link for you to check.
http://www.sybex.com/erratatracking.nsf/weberrataform?OpenForm&ISBN=4091
Regards,
Maha Anna
 
luis meira
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for the help.
best regards
Luis Meira
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic