aspose file tools
The moose likes Tomcat and the fly likes Tomcat Weblogic Filter Behaviour Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Tomcat Weblogic Filter Behaviour" Watch "Tomcat Weblogic Filter Behaviour" New topic
Author

Tomcat Weblogic Filter Behaviour

sandy gupta
Ranch Hand

Joined: Jan 30, 2001
Posts: 228
Its very weird but i noticed something that i thought i should share with all you people.
With tomcat server, the filter gets invoked only once per request but for Weblogic, the filter gets invoked everytime my struts based application tries to read data from the bean while compiling the jsp page.
Did anyone notice this behaviour in weblogic. I work on wl 8.1.
The solution to this was devised in the form of a request attribute which decides whether the filter(s) has(ve) been visited and just call the chained filter in case the processing has already been done for this request.
Comments
Sahil


Adios
 
IntelliJ Java IDE
 
subject: Tomcat Weblogic Filter Behaviour
 
Threads others viewed
Filter URL mappings
ServletFilter not being called
Filter and on Constrained Resource
Question on Filters and RequestDispatcher
how to use a filter to add params in servlet 2.3
jQuery in Action, 2nd edition