some days back it was working but i don't why suddenly my java program is not compiling.
i have set classpath=".;C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\servlet.jar".
c:\> javac -classpath HowdyServlet.java
it shows error in import java.servlet;
statement and likewise in all HttpServlet lines too.
or
i have tried the other way too..
c:\>javac -classpath=".;C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\servlet.jar".
the above is also not working.
help me to sort out this problem.
aks_1 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.