d97adka
asked on
can't compile servlet, javac can't find servlet classes
when i try to compile a servlet file
with javac it can not find servlet classes for ex httpservlet
I already put classpath to tools.jar
and what should I do when this is done.
when I plase this class in my webdirectory (subdir servlets)
how to start it
with javac it can not find servlet classes for ex httpservlet
I already put classpath to tools.jar
and what should I do when this is done.
when I plase this class in my webdirectory (subdir servlets)
how to start it
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks
type
javap javax.servlet.http.HttpSer
if its on your classpath correctlythen you should get a list of its methods, if not it will return an error.
if it sin;t there, go to
http://java.sun.com/products/servlet/download.html#downloadsarchive
and download the servlet dev kit.