Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

setting servlet environment

 
sunil chandwani
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have jdk1.2 installed on my PC. I have downloaded jsdk from sun's site. which resides in c:\jsdk2.0. I have set the path in autoexec.bat as c:\jsdk2.0\lib\jadk.jar;c:\jsdk2.0\bin. but till not working when tried javac compiler on sample servlet code. giving the error "javax.servlet not found in import." I have tried the same code with KAWA4.0 after setting the path there.But result is the same.javac is working fine with other jdk1.2 classes.like awt.,util.,etc.


 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is really a question more suited to the Servlets and JSP forum, so I've moved it.
 
davidlong
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
This is not setting your classpath problem, which should be the dos environment setting on u machine, for example, your dos environment may not have enough memory to let u set classpath.
You may try this:
1. forget about setting classpath.
2. copy the servlet.jar to c:\jdk1.2(or jdk1.3)\jar\lib\ext. because in java 2 environment the classpath is not necessary all, sun privid that folder for replacing classpath.
hope this will help and pls tell me your result
David
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic