*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes regarding ServletContextListner 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 "regarding ServletContextListner" Watch "regarding ServletContextListner" New topic
Author

regarding ServletContextListner

Alan Hermin
Ranch Hand

Joined: Feb 16, 2006
Posts: 290
hi ranchers...
i am preparing for SCWCD using HFSJ, when reading and testing ServletContextListner,and when starting the Tomcat,there are two calls to contextInitialized method,why?
thnx
Senthil Kumar
Ranch Hand

Joined: Mar 13, 2006
Posts: 264
hi,

Pls post your web.xml and servlet,listner code


when you really want something, all the universe always conspires in your favour.<br /> <br />SCJP1.5-77%<br />SCWCD-89%
Alan Hermin
Ranch Hand

Joined: Feb 16, 2006
Posts: 290
hi man,
i use the example from HFSJ(page:171--->174) as is?
thnx
Yi Yuan
Greenhorn

Joined: Jul 03, 2006
Posts: 22
Really ?
But I haven't tried it ever.


SCJP 1.4 - 95% Passed<br />SCWCD 1.4 - 89% Passed
Alan Hermin
Ranch Hand

Joined: Feb 16, 2006
Posts: 290
BUT i don't know why???
magesh sripathy
Greenhorn

Joined: Apr 06, 2006
Posts: 27
you meant to say that two object of type dog has been created......
i dont think so........when I tried the example i got the correct output....can you please specify what you have in the context intialized method and what output you are getting......


Regards,
Magesh.s
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: regarding ServletContextListner