JSP files are handled by default by the tomcat container's own web.xml
file so take a look at that, you might be able to put your own mapping into
your web application's web.xml file.
Also to use a *.jsp as a welcome file you just include this piece of
code:
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
The filename can be whatever you want and you can also have a list of files
with different name and extensions. If you list more than one file you must
wrap it in the <welcome-file></welcome-file> element. The welcome file list
should be placed in your web application's web.xml file after any servlet
mapping elements and before any taglib elements.
Hope this helps,
Nathan.
----- Original Message -----
From: <[EMAIL PROTECTED]>
Sent: Saturday, July 13, 2002 8:07 AM
Subject: Directory Index
> I know that in Tomcat I can map servlets to the path "/" and that in
Apache I can set certain files to be "directory indexes"; however, I do not
know how to map a JSP to the path "/". Can anyone help? How do I map JSPs to
the path "/" or set them as "directory indexes"?
>
> Thanks,
>
> Jack
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>