PDA

View Full Version : trouble using servlet package



ggankhuy
April 17th, 2009, 09:10 AM
Below is what i have in my HelloServlet.java file

import java.io.*;
import javax.servlet.*;

public class HelloServlet extends GenericServlet
{

}


and I tried to build and following errors:

./HelloServlet.java:2: package javax.servlet does not exist
import javax.servlet.*;
^
./HelloServlet.java:4: cannot find symbol
symbol: class GenericServlet
public class HelloServlet extends GenericServlet
^
I tried to install every relevant package but still no avail. If you could let me know, what package will get rid of this this message, that will be a huge help. Thanks!