This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
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
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Can not compile filter
 
It's not a secret anymore!