Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Pamela Baker   on Jan 29 In Java Category.

  
Question Answered By: Agatha Miller   on Jan 29

The other guys were slightly right. You don't need the servlet  api lib
to run a servlet, but you sure as hell need it to compile a servlet.
The jar you should include in your project  lib path  is usually called
servlet,jar (you should find it in thejakarta-servletapi-4/lib directory.
It's best to use the same version of servlet api to compile with as you
will deploy with, just to avoid confusion.
If you are using tomcat - the servket api lib will be in
tomcat_dir/common/lib/servlet.jar.

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on class path(?) Or get search suggestion and latest updates.


Tagged: