Guys and girls,
I�ve been studying Java for a week and, at first, I�d like to thank you all
for the attention and excuse me for possible "fool questions" or
missssspellings.
I�m trying to put the "Duke�s bookstore" example to run on JSDK 2.1
on Windows 95.
The paths I think are the right ones:
1-Compile the sources for the servlets, on the webpages/web-inf/servlets
directory;
2-run startserver
I had trouble on path (1), Compiling the servlets. The messages from javac
were:
----------------------------------------------------------------
CatalogServlet.java:21: Package javax.servlet not found in import.
import javax.servlet.*;
^
CatalogServlet.java:22: Package javax.servlet.http not found in import.
import javax.servlet.http.*;
^
CatalogServlet.java:32: Superclass HttpServlet of class CatalogServlet not
found
.
public class CatalogServlet extends HttpServlet {
^
3 errors
----------------------------------------------------------------
The javax classes source files are on the directory
c:\jsdk2.1\src\javax\servlets
where they were normally installed. (They�re not in the jdk1.2.2\include,
and I really don�t consider the possibility of
HAVING TO COPY THIS FILES MANNUALLY!).
Sorry if this doubt is quite fool and thanks for your attention...
Everton :-)
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
___________________________________________________________________________
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