Meaningless Drivel is fun!
The moose likes Servlets and the fly likes Can not compile filter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Can not compile filter" Watch "Can not compile filter" New topic

Can not compile filter

Raj Puri
Ranch Hand

Joined: Apr 24, 2003
Posts: 189
I have J2SDK.1.4.2 hre is a stndard code I use:

import javax.servlet.*;
import javax.servlet.http.*;
public class check_user implements Filter
private FilterConfig filterConfig = null;



When I compile it says unresolved symbol: Filter. Do I need to downlaod something else also for it compile. Thanks.
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

implements ServletContextListener{

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: Can not compile filter
It's not a secret anymore!