This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet Compilation Error

 
argha bakshi
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65228
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15494
43
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

See Compiling Servlets in the FAQ.
 
sudhir nim
Ranch Hand
Posts: 212
Eclipse IDE Spring Ubuntu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic