With the mapping given below, the
URL http://localhost/rks/Employee/
yields the following messages in access log:
2001-03-29 22:28:31 StandardContext[/rks]: Mapped to servlet 'default' with
ser
vlet path '/Employee' and path info 'null' and update=true
Why does not the servlet-mapping below direct
the URL to the servlet Employee?
[ from web.xml ]
<servlet>
<servlet-name>
Employee
</servlet-name>
<servlet-class>
Employee
</servlet-class>
<servlet-mapping>
<servlet-name>Employee</servlet-name>
<url-pattern>/Employee/*</url-pattern>
</servlet-mapping>
</servlet>
The context "rks" is defined as
[from server.xml ]
<!-- RKS Context -->
<Context path="/rks" docBase="c:\rks" debug="1"
reloadable="true">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="rks_log." suffix=".txt"
timestamp="true"/>
</Context>
Thanks,
Rk