Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Filter Bypass

 
Sondra Colagrossi
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the j2ee tutorial they talk about this filtering process available under the 2.3 spec. See the page here.
Now over in the Websphere Forum this guy says the filter is bypassed on refresh or when the servlet is bookmarked. That is, if I am reading what he is saying correctly.
Is this true about the bypass?
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this guy says the filter is bypassed on refresh or when the servlet is bookmarked
I can't find that in the referenced thread. And I'd be surprised if I did, because it would be wrong.
A servlet filter catches ever request it is mapped to, however it originated. clicking a bookmarked page, or clicking the refresh button in a browser window send a request for the same URL as if you had clicked on a link or typed it in the address bar bt hand. The filter will be invoked in all these cases.
 
Sondra Colagrossi
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are correct. He talks about a refresh tag to get around the logging process. I am not clear what he speaks of here, unless this is on the order of a synchronizer token. This token is documented on page 27 of Core J2EE Patterns 2nd Ed.
Thanks for your input.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic