Hi,
Let's define some terminology so we don't confuse ourselves.
Engine - when talking about Tomcat "engine" means <engine> as per tomcat's
configuration file.
Servlet - programs that process / handle requests.

The program (servlet) that processes jsps is a servlet just like any custom
servlet you write.

The only difference is that the servlet that handles jsps is defined for you
TOMCAT_HOME/conf/web.xml as:

    <servlet>
        <servlet-name>jsp</servlet-name>
        <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
        <init-param>
            <param-name>fork</param-name>
            <param-value>false</param-value>
        </init-param>
        <init-param>
            <param-name>xpoweredBy</param-name>
            <param-value>false</param-value>
        </init-param>
        <load-on-startup>3</load-on-startup>
    </servlet>

    <!-- The mapping for the JSP servlet -->
    <servlet-mapping>
        <servlet-name>jsp</servlet-name>
        <url-pattern>*.jsp</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>jsp</servlet-name>
        <url-pattern>*.jspx</url-pattern>
    </servlet-mapping>



For your own servlets you define your own web.xml file with your own
mappings and place it in the WEB-INF directory of your app.

Hope that clears it up.
Adrian


----- Original Message ----- 
From: "Schalk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 23, 2004 10:03 AM
Subject: RE: Which Engine is Which


Hi there



This is probably something I should know but, for clarification, is the
"engine" that processes jsp's different to the one that processes servlets?
Also what is the name of the engine that processes JSP's and, if different,
the name of the "engine" that processes servlets.



Thanks!



Kind Regards

Schalk Neethling

Web Developer.Designer.Programmer.President

Volume4.Development.Multimedia.Branding

emotionalize.conceptualize.visualize.realize

Tel: +27125468436

Fax: +27125468436

email:[EMAIL PROTECTED]

web: www.volume4.com



This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to