sure did...thanks for the insight.

Will


mraible wrote:
> 
> On 4/8/07, Will Berger <[EMAIL PROTECTED]> wrote:
>>
>> ok...here they are.
>>
>> cacheFilter - what does it do and how is it used
> 
> This is not used - if you look you'll see it's filter-mapping is
> commented out.  It can be used to cache requests by mapping it to
> particular URLs.  OSCache also has JSP tags that you can use to cache
> specific portions of your page.
> 
>> clickstreamFilter - seems to catputre some metrics.  Not sure when it is
>> invoked
> 
> You're correct, this filter just captures where the user clicked.  Can
> be used for statistics.  We've thought about replacing it with
> MessAdmin - since MessAdmin seems to be a more active project and
> provides the same functionality and more.
> 
> http://messadmin.sourceforge.net/
> 
>> encodingFilter- what does it do and how is it used
> 
> This filter allows foreign characters and i18n support work much
> better.  See this filter's javadocs for more information:
> http://www.springframework.org/docs/api/org/springframework/web/filter/CharacterEncodingFilter.html
> 
>> gzipFilter-  what does it do and how is it used
> 
> This compresses the response to the user by up to 70%.  This is
> particularly useful for compressing JavaScript and CSS. The following
> is a good article to read to understand the usefullness of this class.
> 
> http://www.onjava.com/pub/a/onjava/2003/11/19/filters.html
> 
>> lazyLoadingFilter
> 
> Used for Hibernate lazy-loading.  We've disabled it in the next
> release since we don't need it in the core and it prevents us from
> easily switching DAO Frameworks. If you initialize all your lazy
> collections in your DAO layer or middle-tier, you won't need this
> filter.
> 
>> localeFilter - does something with i118n?
> 
> Yes, it allows i18n switching by passing in a "locale" parameter.  It
> also sets the user's locale on a ThreadLocal so you can read it in any
> layer of the application.
> 
>> rewriteFilter- when and how is this used,
> 
> It's not used by most frameworks (except Struts 2), but it's available
> for use.  It's similar to Apache's mod_rewrite and allows you to
> beautify URLs and all kinds of other things.
> 
> http://tuckey.org/urlrewrite/
> 
>> securityFilter - understand when it is called, how does it fit in the
>> chain
>> of filters?
> 
> It delegates to Acegi Security and prevents users from accessing certain
> URLs.
> 
>> sitemesh - I believe this is themes when is it called in relation to the
>> other filters?
> 
> All the filters are called in the order they're specified in web.xml.
> 
>> struts-cleanup - ?
> 
> I believe this is mainly required if you're using SiteMesh with Struts
> 2. Confirmed by its javadocs:
> 
> http://struts.apache.org/2.0.6/struts2-core/apidocs/org/apache/struts2/dispatcher/ActionContextCleanUp.html
> 
>> struts - Assume this is the front servlet that dispatches all action
>> requests?
> 
> Yes, it's mapped to /* so it can do things like add CSS and JavaScript
> to the <head> (if you have an <s:head> tag there.  The extension
> that's used is configured in struts.xml.
> 
> Hope this helps!
> 
> Matt
> 
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Filter---tf3540751s2369.html#a9892326
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> http://raibledesigns.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Filter---tf3540751s2369.html#a9894949
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to