Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

two context initialization with the same name

 
A. Aka
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am doing a mock exam and they said this :

when the application is deployed, the container will throw a console error complaining that it is not legal to define two context initialization with the same name

but when I test it it is working (only the first context param will be displayed )and I have nothing in the log about it

what is the correct answer then ?

regards,


 
gurpeet singh
Ranch Hand
Posts: 924
1
Fedora Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please quote the sources of the mock exam. also which servlet container you are using ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic