File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Configuring the Servlet Engine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Configuring the Servlet Engine" Watch "Configuring the Servlet Engine" New topic

Configuring the Servlet Engine

PalaniGanesh RamaMoorthy

Joined: Sep 13, 2003
Posts: 1
I am having problem in compiling a servlet code under Linux platform. I am just having JDK 1.3.1 for Linux installed on my system. Could anybody please tell me where to get the servlet.jar file for redhat linux and how to set the class path
Thanks in advance
Idly Vada
Ranch Hand

Joined: Sep 02, 2003
Posts: 135
For compiling servlet code download Java(TM) 2 SDK, Enterprise Edition which contains an implementation of the Java Servlet 2.3 specification
Then edit /etc/profile file in Linux
add <j2ee_home_directory>/lib/j2ee.jar to the classpath environment variable
present in /etc/profile
if initially file cotains
make it
I agree. Here's the link:
subject: Configuring the Servlet Engine
It's not a secret anymore!