IndianWebPortal.com

Something Different In Linux

Home » Tomcat » What is tomcat ?

What is tomcat ?

Posted by Rishikesh Vispute Categories: Tomcat

Introduction Of Tomcat

Since Apache doesn’t support JSP out of the box, we need to add something else to the mix to provide that support. Unfortunately, JSP is too complicated to be supported by a simple Apache module; thus, we need to install an entirely new program to provide that support, then instruct Apache to forward requests for JSP pages to that program (note: this may sound like CGI, but it isn’t; just wait and see). The program we’ll be using is called Tomcat, and is also written by the Apache Group.
Tomcat, which is released under Apache license, is one of the more popular and widely used open source option for JSP container. Tomcat’s built in Jasper compiler does the actual compilation of JSP and Java servlets code. The latest available Tomcat version is 6.0.10 and it meets the latest JSP 2.1 specification. Although Tomcat can be used as a standalone HTTP server, it’s advisable to use it only as a JSP/servlets container and use a separate web server like Apache or Microsoft IIS. Apache is popular choice to be used together with Tomcat because Apache web server is more configurable, more robust, and faster than a standalone Tomcat server.

Purpose of Tomcat and JSP

Tomcat’s purpose is to provide standards-compliant support for servlets and JSP pages. The purpose of servlets and JSP pages is to generate web content such as HTML files or GIF files on demand using changing data. Web content that is generated on demand is said to be dynamic. On the other hand, web content that never changes and is served up as-is is called static. Web applications commonly include a great deal of static content, such as images or Cascading Style Sheets (CSS).


Popular Posts

remove index.php fro

How to remove index.php from url in magento Ans : If you ...

PHP-Java bridge on p

  What is php-java bridge? The php-java bridge is the php ...

Set expiration for y

If you want to set the expiration to your site ...

Warning: Parameter 1

Error: Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a ...

domain pointing to e

If you domain uses external MX record and it is ...