• Post Reply Bookmark Topic Watch Topic
  • New Topic

CLASSPATH FOR THE SERVLETS  RSS feed

 
Manoj Kumar Ravikanti
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • 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
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!