Greg Pola

Greenhorn
+ Follow
since Dec 17, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Greg Pola

Hello Folks,
This is my first posting at the ranch. But I've been lurking for a little while, and have gotten some good info from the messages posted. Thanks.

In the Servlet 2.4 Spec, chapter SRV.11 (Mapping Requests to Servlets) they have some examples of request paths and the corresponding servlet they claim will handle the request (p.87).

For a mapping of:
/foo/bar/* --> servlet1

The examples claim that requests for the following will result in servlet1 handling the request. But I dont understand why these requests would even be handled by a servlet at all. Would not the web server and/or container return the index.html or index.bop file directly? If not, what is the behavior of the servlet, and would it actually *do* anything with index.html or index.bop? Any clarifications would be appreciated.

/foo/bar/index.html
/foo/bar/index.bop

Thanks in advance,
-Greg