• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

unable to compile Servlet

 
shabbir ali
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ranchers,
when i have installed the j2ee application server.when i am compiling my servlet class it is saying " package javax.servlet.* does not exist".
where do i get that package to add to class path.
 
Niranjan Deshpande
Ranch Hand
Posts: 1277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
make sure you have all this in your class paths -

,;D:\apache-tomcat-5.5.15\common\lib\servlet.jar;D:\apache-tomcat-5.5.15\common\lib\servlet-api.jar;D:\apache-tomcat-5.5.15\common\lib\jsp-api.jar;

use proper directories as per your directory structure

hth
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic