This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

regarding ServletContextListner

 
Alan Hermin
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 264
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

Pls post your web.xml and servlet,listner code
 
Alan Hermin
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi man,
i use the example from HFSJ(page:171--->174) as is?
thnx
 
Yi Yuan
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Really ?
But I haven't tried it ever.
 
Alan Hermin
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
BUT i don't know why???
 
magesh sripathy
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic