Hi,
I am new to servlet programming I have just started. I am working on
a Free BSD machine and I have jdk1.1.8 installed on it
in /usr/local/jdk1.1.8/bin/java and JSDK package installed in
/usr/local/jsdk2.1 with all the relevant files.
I have found that my the startserver script was for korn shell I have made
changes so that it runs for Bash. Server is getting started, but I am not
able to compile the helloworldservlet.java file using javac.It says
HelloWorldServlet.java:2: Package javax.servlet not found in import.
import javax.servlet.*;
^
HelloWorldServlet.java:3: Package javax.servlet.http not found in import.
import javax.servlet.http.*;
^
HelloWorldServlet.java:10: Superclass HttpServlet of class HelloWorldServlet not
found.
public class HelloWorldServlet extends HttpServlet
I dont know where exactly should I have all these files? My sysadmin has
installed these files, I think our web server is APACHE, then how should i
install the servlet engine???
I want to know where exactly should I have all these files?? Should they all
be in my home directory???
I would be very grateful to anybody who can help me out in making my
first servlet run.
___________________________________________________________________________
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