wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes two context initialization with the same name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "two context initialization with the same name" Watch "two context initialization with the same name" New topic
Author

two context initialization with the same name

A. Aka
Ranch Hand

Joined: Sep 08, 2012
Posts: 45
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

Joined: Apr 04, 2012
Posts: 924
    
    1

Please quote the sources of the mock exam. also which servlet container you are using ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: two context initialization with the same name