This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is the order of loading in the servlet spec?

 
Joshua White
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All,
I have a servlet whose init method checks for a class "foo" that should be bound to the servlet context.
Class "foo" implements the ServletContextListener and puts itself into the servlet context on the contextInitialized event.
This works correctly in the sun one application server, but not in WLS 8.1. WLS loads the servlet first, then "foo" gets initialized.
Whats the deal?
 
Joshua White
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I should also mention that it works on Tomcat as well.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic