Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

filter

 
sihani rani
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is filter..
what are the use of filter..

how we use filter in eclipse
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is filter..
what are the use of filter..

Did you SearchFirst ? What don't you understand about filters ?

how we use filter in eclipse

Filters are common Java classes. You make them like any other classes and register them in your deployment descriptor. Nothing to do particularly with Eclipse.
 
vijin das
Ranch Hand
Posts: 129
Firefox Browser Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
according to The Java Servlet specification version 2.3 "A filter dynamically intercepts requests and responses to transform or use the information contained in the requests or responses. Filters typically do not themselves create responses, but instead provide universal functions that can be "attached" to any type of servlet or JSP page. .."

You can find more info on this link filters
 
Peter Disuja
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Filter is basically used to filter the request and responce. It is a certain API defined by the Filter, FilterChain, and FilterConfig interfaces in the javax.servlet package. With the help of this unwanted data refined by the filter and only required data only goes to server.

Peter pal Disuja
http://www.smartcollabs.com
 
Alpesh Padra
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This might help to understand filter better way

http://java.sun.com/products/servlet/Filters.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic