I'm compiling via the command line using javac.exe and I'm getting the below errors, I figure its due to a classpath not being set but I'm unsure where its should be set too?
I've tried running the below but it didn't help, still same errors:
I'm using the JDK that came with WebSphere so I think its java 1.4.
Any help much appreciated.
I've tried running the below but it didn't help, still same errors:
Code:
set classpth=C:\WebSphere\AppServer\lib\servlet.jar
Code:
Package javax.servlet not found in import.
import javax.servlet.*;
^
Package javax.servlet.http not found in import.
import javax.servlet.http.*;
^
Superclass HttpServlet of class NewMM not found.
public class NewMM extends HttpServlet
^
Any help much appreciated.
Comment