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

compling servlets

vikky vikky

Joined: Apr 01, 2004
Posts: 2
What do we need to compile servlets? I installed JDK1.4.1. what else is need to complie servlets. how to go from there?
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
Servlets are part of the J2EE specification, so you'll probably need the J2EE distribution.

Wayne L Johnson
Ranch Hand

Joined: Sep 03, 2003
Posts: 399
I believe you can download the servlet JAR file separately: servlet download .
Ben Wood
Ranch Hand

Joined: Aug 14, 2001
Posts: 342
yes, I just use the servlet.jar file myself. I think if you drop it into the lib directory under your SDK installation it should work. Whether it needs to be in the jre aswell depends on where you are running the servlet I think. I compile servlets locally then upload them to a separate web server for example, so I only need to compile them on my own PC - tomcat takes care of the running it side of things.

SCJP 1.4,
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Moving this to the Servlets forum...

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
I agree. Here's the link:
subject: compling servlets
It's not a secret anymore!