Ah! I understand, the empty file fools resin into think it exists. 
I'll try it out.

Steve

> -----Original Message-----
> From: Mark McBride [mailto:[EMAIL PROTECTED]
> Sent: June 30, 2003 1:51 PM
> To: Struts Users Mailing List
> Subject: RE: site root going straight to a .do
> 
> 
> This is my entry running under Resin2.X
> <welcome-file-list>
> <welcome-file>index.do</welcome-file>
> </welcome-file-list>
> 
> There is a physical file there but it's blank. Seems that resin 
> just checks 
> for existence before passing on the request.
> 
> -Mark
> 
> At 01:41 PM 6/30/2003 -0700, you wrote:
> >I'd be interested to see what you've put in your WEB.XML file and which
> >container you're using.
> >I've just tried adding a welcome.do entry in mine for Tomcat 
> 4.1.24 and it
> >does not work.
> >
> >My understanding is the same as K.C. - that it currently 
> requires a physical
> >file, but that this is slated to be changed in a later release of the
> >servlet spec (I'm not sure if it made it into 2.4).
> >
> >Steve
> >
> > > -----Original Message-----
> > > From: Mark McBride [mailto:[EMAIL PROTECTED]
> > > Sent: June 30, 2003 9:25 AM
> > > To: Struts Users Mailing List
> > > Subject: Re: site root going straight to a .do
> > >
> > >
> > > I've placed a blank index.do under my webapp and everything works
> > > great! I believe the web container first checks for the 
> existence of the
> > > file before submitting the request. If file = true request is 
> submitted
> >and struts
> > > magic begins =)
> > >
> > > -Mark
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> 
> Mark T. McBride
> Computer Scientist
> Lawrence Livermore National Laboratory
> http://www.llnl.gov
> 
> Office: (925) 423-1627
> Fax: (925) 423-3140
> 


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

Reply via email to