Giovanni, The servlet.jar file needs to be in your classpath when you compile. You can do this by using the -classpath option on the command line for javac. I'd suggest downloading an IDE such as Oracle's JDeveloper, or Eclipse however as you will find writing and debugging servlets much easier.
Regards, Richard At 03:27 PM 1/24/2003 +0100, you wrote:
hi, Where do I put the servlets api in the tomcat trees? Is it included in jdk1.4?and if so,why I got a compiling error when I try to compile my servlets? ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html