• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ContextLoaderListener vs Filter for "/*"

 
arul meh
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am wondering what is the sequence of execution in a web based project -

1) A java class which implements "ContextLoaderListener"

2) A class which acts as a filter and is maped for /*


In my case, I see that first ContextLoaderListener is called first, but before ALL the statements are executed in "contextInitialized" method, I see some methods from "filter" java class getting executed. Can anybody explain me - how request is being processed ?

Thanks.
 
Ankit Garg
Sheriff
Posts: 9519
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ContextLoaderListener is not a part of SCWCD objectives. Are you talking about Spring framework??
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic