Hello. I was wondering if anyone knows if the <icon> element in web.xml is not working in Tomcat (it's not working for me... just wondering if it's not supported or if it's something specific with me). Another thing (a little more important) is the <welcome-file-list> element. I have one such in my web.xml and it contains one <welcome-file> element. This is directly from it: <welcome-file-list> <welcome-file>/servlet/com.decode.ips.webservice.controller.IPSControlle rServlet</welcome-file> </welcome-file-list> This should redirect anyone going to https://localhost/ to https://localhost/servlet/com.decode.ips.webservice.controller.IPSContro llerServlet. This is not the case however since it's not happening. Instead I'm getting the directory listing of the root of the webapp (I don't have an index file). Now I have two questions: 1) Why doesn't my welcome-file-list thing work? 2) How can I disable the directory listing? I want people to see the "not found" or "not authorized" rather than getting the directory listing. One final thing (web.xml is _very_ poorly documented... btw, I _have_ searched for answers to my questions and haven't found anything to this thing I'm asking about here ;o). Can someone explain to me the <error-page> tag in web.xml? I want an error page for my servlets as well as the JSPs. I've put the <%@ page errorPage="error.jsp" %> in all of them but I'm wondering what to do with the servlets... I think it might have something to do with the <error-page> tag in web-xml but the documentation says that it takes in an error code (such as 404). Another place says it takes the fully qualified name of a java exception class. Can I use the error.jsp file for these things too? Will that page have access to the exception object to get the message I want to display? I'm talking about it looking like this in web.xml: <error-page> <error-code>javax.servlet.ServletException</error-code> <location>/error.jsp</location> </error-page> Thanks in advance for any and all answers, kind regards, Stefan -------------------------------------------- Stefan Freyr Stefansson Software Developer deCODE Genetics, Inc. http://www.decode.com Phone: (+354) 570 2854 GSM: (+354) 861 1718 Fax: (+354) 491 3782 <<Stefan Stefansson.vcf>>
BEGIN:VCARD VERSION:2.1 N;ENCODING=QUOTED-PRINTABLE:;=01 REV:20001030T115142Z END:VCARD
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
