File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Configuring the Servlet Engine

 
PalaniGanesh RamaMoorthy
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 135
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For compiling servlet code download Java(TM) 2 SDK, Enterprise Edition which contains an implementation of the Java Servlet 2.3 specification
from
http://java.sun.com/j2ee/sdk_1.3/
Then edit /etc/profile file in Linux
add <j2ee_home_directory>/lib/j2ee.jar to the classpath environment variable
present in /etc/profile
eg:
if initially file cotains
classpath=".;$JAVA_HOME/bin"
make it
classpath=".;$JAVA_HOME/bin;/usr/j2ee/lib/j2ee.jar"
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic