hey,

need hlp :
1. how can i check in the 'doFilter(ServletRequest req, ServletResponse res, FilterChain chain)' method the type of the req (if is it Servlet or JSP) ?
2. Also, how can i get the response size after i commit the 'chain.doFilter(req,res)' method ?

code samples will be helfull :-)
10x.