[wrong list by the way]
Mohamed Raffi wrote:
>Hi to all,
>Which Part of the App Servers identify the Request and delegate it
>to the respective Containers/Engine/Server
>
>What is the logic behind it???.
>
The web container is responsible. The mapping of request URLs to JSPs,
Servlets or static content is defined by the web application's
deployment descriptor. These "rules" are used by the web container to
determine how to dispatch the incoming request. This is all defined in
detail in the Servlet specification, chapter SRV.11. Grab it at
http://java.sun.com/products/servlet/download.html
>
>What i beleive is if the request contains extension contains constants like
>html, jsp
>the Server Listener at the port(7001/8080), will direct to the respective
>Container/Engine/Server.
>
This isn't the case. The mapping rules in the deployment descriptor
must be consulted to determine where the request is dispatched to.
>
>In the other Scenario,
>
<snip>
>
>What is the Logic behind it??? & who is responsible for all these request
>delegations ?????
>
The web container deployment descriptor (see above).
>
>what is the scenario if, an Servlet Engine like, (SERVLET EXEC) integerated
>with Web Server (IIS) ?
>and how the request delegations are handled herer ???
>
I'm not sure about IIS but when integrating Apache with Tomcat, you need
to configure Apache to forward all requests under certain URL contexts
to be handled by the (external) Tomcat web container. When the request
is received by Apache it forwards it to Tomcat which then applies the
URL mapping rules and determines which Servlet/JSP to invoke.
j.
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".