You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Steve Raeburn <st...@ninsky.com> on 2003/07/01 01:29:01 UTC

RE: site root going straight to a .do

I tried this and it works on Tomcat 4.1.24 and Websphere 5 (WSAD Test
environment).

The file doesn't need to be blank, so you could include an explanation for
anyone who comes along later and tries to edit the file.

Steve

> -----Original Message-----
> From: Steve Raeburn [mailto:steve@ninsky.com]
> Sent: June 30, 2003 2:06 PM
> To: Struts Users Mailing List
> Subject: RE: site root going straight to a .do
>
>
> Ah! I understand, the empty file fools resin into think it exists.
> I'll try it out.
>
> Steve
>
> > -----Original Message-----
> > From: Mark McBride [mailto:markmcbride@llnl.gov]
> > 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:markmcbride@llnl.gov]
> > > > 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: struts-user-unsubscribe@jakarta.apache.org
> > >For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> > 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: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: site root going straight to a .do

Posted by Mark McBride <ma...@llnl.gov>.
I'm glad it worked ... good point on the file existance explanation!

-Mark

At 04:29 PM 6/30/2003 -0700, you wrote:
>I tried this and it works on Tomcat 4.1.24 and Websphere 5 (WSAD Test
>environment).
>
>The file doesn't need to be blank, so you could include an explanation for
>anyone who comes along later and tries to edit the file.
>
>Steve
>
> > -----Original Message-----
> > From: Steve Raeburn [mailto:steve@ninsky.com]
> > Sent: June 30, 2003 2:06 PM
> > To: Struts Users Mailing List
> > Subject: RE: site root going straight to a .do
> >
> >
> > Ah! I understand, the empty file fools resin into think it exists.
> > I'll try it out.
> >
> > Steve
> >
> > > -----Original Message-----
> > > From: Mark McBride [mailto:markmcbride@llnl.gov]
> > > 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:markmcbride@llnl.gov]
> > > > > 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: struts-user-unsubscribe@jakarta.apache.org
> > > >For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > >
> > > 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: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> >
> >
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org