aspose file tools*
The moose likes Servlets and the fly likes software required to run JSP and Servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "software required to run JSP and Servlets" Watch "software required to run JSP and Servlets" New topic
Author

software required to run JSP and Servlets

Jeffry Cray
Greenhorn

Joined: Oct 08, 2000
Posts: 25
I've gone through some of the posts in javaranch, and I'm not yet clear on one particular thing.
Do I need to install Tomcat to run servlet and jsp programs, or do i have to use apache with tomcat to run those servlets and jsp programs
Thanx
manish suba
Greenhorn

Joined: Nov 25, 2000
Posts: 3
u need a web server java web sserver or some other one
and jsdk1.2.2
to run servlets and jsp
also u need to set path
try this
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
You have lots of choices. You can run Tomcat on its own, you can run Apache httpd together with Tomcat. You can run one of the many other servlet servers (Resin, JWS etc.) on its own. You can run one of the many plug-in servlet containers with a web server such as Apache httpd, IIS, iPlanet etc.
If you want to get started as simply as possible, I recommend using one of the pure Java servlet servers on its own. Tomcat is the reference standard, and is available for download from http://jakarta.apache.com/ , but Resin is my personal favourite, and seems to be easier to install and get running that Tomcat. Resin is available for download from http://www.caucho.com/ .
[This message has been edited by Frank Carver (edited November 27, 2000).]


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Jeffry Cray
Greenhorn

Joined: Oct 08, 2000
Posts: 25
Hi Frank,
what's the difference between running Tomcat on it's own, or Tomcat with Apache ? Is one of them a web server and the other not !!
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
Both Tomcat and Apache httpd can run as web servers, serving basic files etc.
Apache httpd is also a "full-function" web server capable of running CGI scripts and acceping plug-ins for lots of different purposes (in-process perl and PHP interpreters, for example).
Tomcat is also a Servlet container capable of managing and executing servlets.
If you just need basic files (HTML, images etc.) and servlets then use Tomcat on its own. If you just need basic files and CGI, PHP etc. the use Apache httpd on its own.
If you need a combination of CGI, perl, PHP etc. and servlets, or of you need the web server to communicate with or load-balance between multiple servlet containers each in its own JVM, then use a web server (such as Apache httpd, iPlanet, IIS etc.) together with one or more servlet containers (such as Tomcat, Resin, JRun etc.)
For most people developing sites powered by servlets and JSPs with some static files, especially if you are new to servlets or to server configuration, then a web-servlet container such as Tomcat or Resin offers everything you need. It's also a lot simpler to get started.
Jeffry Cray
Greenhorn

Joined: Oct 08, 2000
Posts: 25
I just posted my question a while ago! Thank ya sherrif
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: software required to run JSP and Servlets
 
Similar Threads
Exams Survey
Royally confused on installation
How to configure?
servlet compilations
How to deploy servelts and jsp in JBoss?