Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
Sheriffs:
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • fred rosenberger
  • Frits Walraven

specs doubt

 
Ranch Hand
Posts: 579
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does following mean ,given in servlet specs .please anybody explain me:
In order to support this style of filter the container must support the following
requirement. When a filter invokes the doFilter method on the container’s filter
chain implementation, the container must ensure that the request and response
object that it passes to the next entity in the filter chain, or to the target web
resource if the filter was the last in the chain, is the same object that was passed
into the doFilter method by the calling filter.



Also tell me whether a filter can implement SingleThreadModel?
[ January 02, 2006: Message edited by: agrah upadhyay ]
 
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[edited]
So you have a doubt on spec.??
[/edited]

Originally posted by agrah upadhyay:
What does following mean ,given in servlet specs .please anybody explain me:
In order to support this style of filter the container must support the following
requirement. When a filter invokes the doFilter method on the container’s filter
chain implementation, the container must ensure that the request and response
object that it passes to the next entity in the filter chain, or to the target web
resource if the filter was the last in the chain, is the same object that was passed
into the doFilter method by the calling filter.



It means your request and response object, that it passes to the next entity in the filter chain or a other resource incase of last filter in chain, should be the same through out the journey.

Are you getting me?

Actually I cant really make the words more simple. Its very simple and straight already. It would be like improving perfection.


Also tell me whether a filter can implement SingleThreadModel?



Yes. However, SingleThreadModel is deprecated.
[ January 04, 2006: Message edited by: Adeel Ansari ]
 
    Bookmark Topic Watch Topic
  • New Topic