AW: Servlet as Welcome File doesn't work

2003-12-02 Thread SH Solutions
Hi I found an solution to force tomcat 4.1.29 to use servlets as welcome files. My applications web.xml: servlet servlet-nameRoot/servlet-name servlet-classcom.osiris4.servlets.Root/servlet-class /servlet servlet-mapping servlet-nameRoot/servlet-name

Servlet as Welcome File doesn't work

2003-12-01 Thread SH Solutions
Hello. I'm using tomcat 4.1.29 on debian and I have the following problem: I need to get / handled by my Servlet myPackage.Root, but I do not want to change the mapping of ordinary files. Just as a welcome file would, but welcome-file does not apply to servlets, right? My solutions so far is to

Re: Servlet as Welcome File doesn't work

2003-12-01 Thread Rainer Stransky
edit the $CATALINA_HOME/ROOT/WEB-INF/web.xml if you want the root application to show an custom welcome-file and put welcome-file-list welcome-filemyFile.jsp/welcome-file /welcome-file-list to the web-app tag. This works on my tomcat 5.0 Rainer --

Re: Servlet as Welcome File doesn't work

2003-12-01 Thread Budi Kurniawan
;[EMAIL PROTECTED]gt; gt; Subject: Servlet as Welcome File doesn't work gt; Sent: 01 Dec 2003 23:58:51 gt; gt; Hello. gt; gt; I'm using tomcat 4.1.29 on debian and I have the following problem: gt; I need to get quot;/quot; handled by my Servlet quot;myPackage.Rootquot

Re: Servlet as Welcome File doesn't work

2003-12-01 Thread bsouther
That feature has been added in version 5x. Prior to that you have to map to a static file or a JSP. On Monday 01 December 2003 06:58 pm, you wrote: Hello. I'm using tomcat 4.1.29 on debian and I have the following problem: I need to get / handled by my Servlet myPackage.Root, but I do not