While compiling one of Sun's servlet examples, I got this: BookDBServlet.java:23: package java.servlet does not exist import java.servlet.*; Am I missing something? Should I re-install my JDK1.3? Thanks!
Carl Trusiak
Sheriff
Joined: Jun 13, 2000
Posts: 3340
posted
0
Servlets are a seperate API from the standard jdk. You need to download it from Sun. I recommend you go ahead and get the full Java Server Development Kit which includes Servlets and JSP's etc. It can be downloaded here. http://java.sun.com/products/jsp/download.html
[This message has been edited by Carl Trusiak (edited September 14, 2000).]
THank you so much Carl....this shows my ignorance.
Irene Fernandez
Greenhorn
Joined: Jan 26, 1999
Posts: 15
posted
0
One more thing to watch out for: use==> import javax.servlet.*; The servlet classes are in package javax. I have seen some examples which leave out the x. Irene [This message has been edited by Irene Fernandez (edited September 20, 2000).]
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.