aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Can not compile filter" Watch "Can not compile filter" New topic
Author

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 java.io.*;
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
Sheriff

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Can not compile filter