• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

CLASSPATH FOR THE SERVLETS

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Every time I create a class file in servlet I have to set the classpath from the tomcat folder to servlet-api jar file is there any alternative so that I don't have to set classpath each time I create a class java file in application
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Manoj Kumar Ravikanti,
Welcome to Javaranch.

Please note: Typing in all caps is the equivalent to yelling in a web forum and is considered rude.

As to your question:
There are several different ways to set up and manage your environment for compiling Java classes. Classpath issues are usually discussed in the Java In General (Beginner) forum so I'll move this thread over there for you.
Also this link from our Servlets FAQ might be of interest to you.
http://faq.javaranch.com/view?CompilingServlets
It contains a link to our classpath FAQ.
 
reply
    Bookmark Topic Watch Topic
  • New Topic