Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Critical prob

 
deshdeep divakar
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi this is a problem related to compilation of the servlet program.
classpaths are set as: c:\jdk1.4\lib\dt.jar;
c:\jdk1.4\lib\htmlconverter.jar;
c:\jdk1.4\lib\tools.jar;
c:\jdk1.4\lib\servlet-api.jar;
but on compiling the servlet in command prompt by javac compiler the error is the packages of servlet and servlet.http. do not exist.
there is no problem in running applet.
 
Sarath Mohan
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I feel your classpath is correct. Still compiler could not catch the jar files. Please check the jar files exist in the directories and there is no spelling and syntax mistake in classpath varibles

regards
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic