Hello,
 
Am a beginner in Java Servlets development. I installed JSDK 2.1 and am using JDK1.2.1. Now i face a problem in running the servlets.
 
The problem might be with the CLASSPATH. Am able to compile a servlet using javac when invoked from the DOS prompt. When the same source program is compiled using an editor like WinEdit, which uses the same javac, it show compilation error:
 
Package javax.servlet not found in import.
import javax.servlet.*;
 
And also, when i compiled it and placed the class file inside the servelts directory of the java websrver. and am not able to accesss the servelet.Please help
 
( Am getting the html page when i connect to the server at 8080)
 
Thanks,
Hari
 
 

Reply via email to