This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Servlets and the fly likes Servlet compiling error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet compiling error" Watch "Servlet compiling error" New topic
Author

Servlet compiling error

sam liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1209


i have set the PATH variable as D:\Alternate_C_Drive\apache-tomcat-6.0.16\lib\servlet-api.jar
But when i am going to compile servlet it says this?



Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61457
    
  67

PATH has nothing to do with compiling. You need to add the jar file to the classpath.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
sam liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1209
ok.thanks
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Servlet compiling error