The following table shows some examples of URL that map to
specific servlet
to be executed.
Page URL Servlet to execute
http://host:port/mywebapp/fruit/summer/index.html
watermelon
http://host:port/mywebapp/fruit/summer/index.abc
watermelon
http://host:port/mywebapp/seedlist
list
http://host:port/mywebapp/seedlist/index.html
The default servlet, if
configured, or an HTTP 404 File
Not Found error message.
If the mapping for the list
servlet had been /seedlist*,
the list servlet would be
invoked.
No comments:
Post a Comment