File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Compiling a servlet????? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Compiling a servlet?????" Watch "Compiling a servlet?????" New topic

Compiling a servlet?????

Sagar Sharma
Ranch Hand

Joined: Aug 31, 2000
Posts: 92
i have created a servlet but i am not able to compile it.
i have downloaded the JDK for the standard and the Enterprise edition. now where should i compile the servlet ie.
in c:\jdk1.2.2\bin or c:\j2sdkee\bin. also which command should i use.
I am very confused about this.
It would be of great help if someone could list down the steps to do so with the commands and the setting of path variables.

Thanks in advance.
jaya raman

Joined: Nov 08, 2000
Posts: 7
Hi Sagar,
Its quite simple....
First u set the path variable to the bin directory of jdk as well as bin directory of j2sdkee.
Second set the classpath variable to the jar files that r there in the j2sdkee and jdk.
once this is through u can go ahead compiling...
jaya raman
I agree. Here's the link:
subject: Compiling a servlet?????
jQuery in Action, 3rd edition