The container expects there to be a physical file that corresponds to a
welcome-file. Since there can be more than one candidate (it's a list of
welcome-files), it needs to look to see what's there and then choose the
one highest on the list.

The usual technique is to create a welcome-file as a JavaServer Page,
and then forward from that to the servlet.

-Ted.

ั๎ะกอ๘ wrote:

> i want to set a servlet as welcome-file in web.xml , but it doesn't work ,how to do 
>it?
> 
> thank u .
> 
> sureone
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 


-- 
Ted Husted, Husted dot Com, Fairport NY US
co-author, Java Web Development with Struts
Order it today:
<http://husted.com/struts/book.html>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to