• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

software required to run JSP and Servlets

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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).]
 
Jeffry Cray
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just posted my question a while ago! Thank ya sherrif
reply
    Bookmark Topic Watch Topic
  • New Topic