| Author |
Servlet Compilation Error
|
argha bakshi
Greenhorn
Joined: Sep 05, 2007
Posts: 2
|
|
Hi Everybody , I am facing some problems in compiling servlets . I dont know why but have jdk1.5 & tomcat 5.5 installed in my xp . I was trying to run the source code through jcreatorLE but it cant find javax.servlet & javax.servlet.http like packages . please give a cleaner picture about how to configure Tomcat & JDK1.5 to compile servlets . Thanks again
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56233
|
|
|
Your Tomcat installation will have the jar files that you need to include. Look in $TOMCAT_HOME/common/lib for jar files servlet-api.jar and jsp-api.jar. Be sure that these jar files are added to the classpath for compilation.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Jesper de Jong
Java Cowboy
Bartender
Joined: Aug 16, 2005
Posts: 12929
|
|
Welcome to JavaRanch. See Compiling Servlets in the FAQ.
|
Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
|
 |
sudhir nim
Ranch Hand
Joined: Aug 29, 2007
Posts: 212
|
|
|
This page also explains How to setup the development environment
|
[Servlet tutorial] [Servlet 3.0 Cook Book]
|
 |
 |
|
|
subject: Servlet Compilation Error
|
|
|