my dog learned polymorphism*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "compling servlets" Watch "compling servlets" New topic
Author

compling servlets

vikky vikky
Greenhorn

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.


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
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, www.gsi3d.org.uk
Dirk Schreckmann
Sheriff

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: http://aspose.com/file-tools
 
subject: compling servlets
 
Similar Threads
Scope of a servlet
Servlets and Jsp
Advice on buying 1 advanced book on servlet
threading issue in servlet
ways for swing client to connect to weblogic server behind firewall