You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dariusz Wojtas <dw...@myrealbox.com> on 2002/08/16 12:30:20 UTC

Re[2]: Welcome file and struts

That topic was discussed here
  http://www.mail-archive.com/struts-user@jakarta.apache.org/msg34650.html

Darek

Friday, August 16, 2002, 12:30:00 PM, you wrote:
MD> I don´t want get impatient ;-), but usually there is a lot more action here!
MD> It´s just my luck that when I answer a question, everyone seems to be on
MD> vacation :-) !

MD> Has anyone else experienced this problem?  Is there a workaround?

MD> Thanks,

MD> Michael


MD> ----- Original Message -----
MD> From: "Michael Delamere" <ho...@michael-delamere.de>
MD> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
MD> Sent: Friday, August 16, 2002 10:32 AM
MD> Subject: Welcome file and struts


>> Hi folks!
>>
>> I have got a question concerning the welcome file in the web.xml.  I have
>> tried the following:
>>
>>   <welcome-file-list>
>>     <welcome-file>/index.do</welcome-file>
>>   </welcome-file-list>
>>
>> Could it be that tomcat has problems with this because the file doesn´t
>> physically exist?  The reason for assuming this is that index.vm (velocity
>> template) seems to work!?
>>
>> Could someone please give me some guidelines on how to get tomcat to load
MD> my
>> index.do on startup.
>>
>> Any help would be really appreciated.
>>
>> Thanks,
>>
>> Michael

-- 
Best regards,
 Dariusz Wojtas                 mailto:dwojtas@myrealbox.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Re[2]: Welcome file and struts

Posted by Michael Delamere <ho...@michael-delamere.de>.
thanks!

Nevertheless, it´s fairly quiet for a friday :-) !

Regards,

Michael

p.s. I found another solution which involved a META-Refresh, but I think the
thread below has a better solution (if it works :-) ).


----- Original Message -----
From: "Dariusz Wojtas" <dw...@myrealbox.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Friday, August 16, 2002 12:30 PM
Subject: Re[2]: Welcome file and struts


> That topic was discussed here
>   http://www.mail-archive.com/struts-user@jakarta.apache.org/msg34650.html
>
> Darek
>
> Friday, August 16, 2002, 12:30:00 PM, you wrote:
> MD> I don´t want get impatient ;-), but usually there is a lot more action
here!
> MD> It´s just my luck that when I answer a question, everyone seems to be
on
> MD> vacation :-) !
>
> MD> Has anyone else experienced this problem?  Is there a workaround?
>
> MD> Thanks,
>
> MD> Michael
>
>
> MD> ----- Original Message -----
> MD> From: "Michael Delamere" <ho...@michael-delamere.de>
> MD> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> MD> Sent: Friday, August 16, 2002 10:32 AM
> MD> Subject: Welcome file and struts
>
>
> >> Hi folks!
> >>
> >> I have got a question concerning the welcome file in the web.xml.  I
have
> >> tried the following:
> >>
> >>   <welcome-file-list>
> >>     <welcome-file>/index.do</welcome-file>
> >>   </welcome-file-list>
> >>
> >> Could it be that tomcat has problems with this because the file doesn´t
> >> physically exist?  The reason for assuming this is that index.vm
(velocity
> >> template) seems to work!?
> >>
> >> Could someone please give me some guidelines on how to get tomcat to
load
> MD> my
> >> index.do on startup.
> >>
> >> Any help would be really appreciated.
> >>
> >> Thanks,
> >>
> >> Michael
>
> --
> Best regards,
>  Dariusz Wojtas                 mailto:dwojtas@myrealbox.com
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Re[2]: Welcome file and struts

Posted by Michael Delamere <ho...@michael-delamere.de>.
I just found this solution, which seems quite good:

quote:
"Create a index.jsp and place a <logic:forward/> tag to
forward to index.do."

http://www.mail-archive.com/struts-user@jakarta.apache.org/msg34667.html

Regards,

Michael


----- Original Message -----
From: "Andrew Hill" <an...@gridnode.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Friday, August 16, 2002 12:40 PM
Subject: RE: Re[2]: Welcome file and struts


> Ooo.
> The idea from Dennis Muhlestein seems better than my tactic.
> What a neat idea. Think I might switch to doing it this way.
>
> To quote his posting: "Anyway, I added index.do to the list of files for
> apache to
> automatically pull up and then just made a dummy file called index.do
> tomcat gets the request and it works just fine."
>
>
> -----Original Message-----
> From: Dariusz Wojtas [mailto:dwojtas@myrealbox.com]
> Sent: Friday, August 16, 2002 18:30
> To: Struts Users Mailing List
> Subject: Re[2]: Welcome file and struts
>
>
> That topic was discussed here
>   http://www.mail-archive.com/struts-user@jakarta.apache.org/msg34650.html
>
> Darek
>
> Friday, August 16, 2002, 12:30:00 PM, you wrote:
> MD> I don´t want get impatient ;-), but usually there is a lot more action
> here!
> MD> It´s just my luck that when I answer a question, everyone seems to be
on
> MD> vacation :-) !
>
> MD> Has anyone else experienced this problem?  Is there a workaround?
>
> MD> Thanks,
>
> MD> Michael
>
>
> MD> ----- Original Message -----
> MD> From: "Michael Delamere" <ho...@michael-delamere.de>
> MD> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> MD> Sent: Friday, August 16, 2002 10:32 AM
> MD> Subject: Welcome file and struts
>
>
> >> Hi folks!
> >>
> >> I have got a question concerning the welcome file in the web.xml.  I
have
> >> tried the following:
> >>
> >>   <welcome-file-list>
> >>     <welcome-file>/index.do</welcome-file>
> >>   </welcome-file-list>
> >>
> >> Could it be that tomcat has problems with this because the file doesn´t
> >> physically exist?  The reason for assuming this is that index.vm
> (velocity
> >> template) seems to work!?
> >>
> >> Could someone please give me some guidelines on how to get tomcat to
load
> MD> my
> >> index.do on startup.
> >>
> >> Any help would be really appreciated.
> >>
> >> Thanks,
> >>
> >> Michael
>
> --
> Best regards,
>  Dariusz Wojtas                 mailto:dwojtas@myrealbox.com
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Re[2]: Welcome file and struts

Posted by Andrew Hill <an...@gridnode.com>.
My application isnt using any JSP's and I need to go through an action
before I can get to any views - even the login page. (Id prefer a dummy file
to a meta refresh index.html page as I feel it would load a wee bit
quicker).

-----Original Message-----
From: Cliff Rowley [mailto:cliff@onsea.net]
Sent: Friday, August 16, 2002 19:03
To: struts-user@jakarta.apache.org
Subject: RE: Re[2]: Welcome file and struts


Feels a bit weird having part of your deployment depend on a dummy file
though.  I went for the index.jsp idea myself.

On Fri, 2002-08-16 at 11:40, Andrew Hill wrote:
> Ooo.
> The idea from Dennis Muhlestein seems better than my tactic.
> What a neat idea. Think I might switch to doing it this way.
>
> To quote his posting: "Anyway, I added index.do to the list of files for
> apache to
> automatically pull up and then just made a dummy file called index.do
> tomcat gets the request and it works just fine."
>
>
> -----Original Message-----
> From: Dariusz Wojtas [mailto:dwojtas@myrealbox.com]
> Sent: Friday, August 16, 2002 18:30
> To: Struts Users Mailing List
> Subject: Re[2]: Welcome file and struts
>
>
> That topic was discussed here
>   http://www.mail-archive.com/struts-user@jakarta.apache.org/msg34650.html
>
> Darek
>
> Friday, August 16, 2002, 12:30:00 PM, you wrote:
> MD> I don´t want get impatient ;-), but usually there is a lot more action
> here!
> MD> It´s just my luck that when I answer a question, everyone seems to be
on
> MD> vacation :-) !
>
> MD> Has anyone else experienced this problem?  Is there a workaround?
>
> MD> Thanks,
>
> MD> Michael
>
>
> MD> ----- Original Message -----
> MD> From: "Michael Delamere" <ho...@michael-delamere.de>
> MD> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> MD> Sent: Friday, August 16, 2002 10:32 AM
> MD> Subject: Welcome file and struts
>
>
> >> Hi folks!
> >>
> >> I have got a question concerning the welcome file in the web.xml.  I
have
> >> tried the following:
> >>
> >>   <welcome-file-list>
> >>     <welcome-file>/index.do</welcome-file>
> >>   </welcome-file-list>
> >>
> >> Could it be that tomcat has problems with this because the file doesn´t
> >> physically exist?  The reason for assuming this is that index.vm
> (velocity
> >> template) seems to work!?
> >>
> >> Could someone please give me some guidelines on how to get tomcat to
load
> MD> my
> >> index.do on startup.
> >>
> >> Any help would be really appreciated.
> >>
> >> Thanks,
> >>
> >> Michael
>
> --
> Best regards,
>  Dariusz Wojtas                 mailto:dwojtas@myrealbox.com
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>
--

Regards

-------------------------------------------
 Cliff Rowley        |     cliff@onsea.net
 Software Engineer   |   www.doctype.co.uk
 +44 (0) 1206 514263 | www.cliffrowley.com
-------------------------------------------


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Re[2]: Welcome file and struts

Posted by Cliff Rowley <cl...@onsea.net>.
Feels a bit weird having part of your deployment depend on a dummy file
though.  I went for the index.jsp idea myself.

On Fri, 2002-08-16 at 11:40, Andrew Hill wrote:
> Ooo.
> The idea from Dennis Muhlestein seems better than my tactic.
> What a neat idea. Think I might switch to doing it this way.
> 
> To quote his posting: "Anyway, I added index.do to the list of files for
> apache to
> automatically pull up and then just made a dummy file called index.do
> tomcat gets the request and it works just fine."
> 
> 
> -----Original Message-----
> From: Dariusz Wojtas [mailto:dwojtas@myrealbox.com]
> Sent: Friday, August 16, 2002 18:30
> To: Struts Users Mailing List
> Subject: Re[2]: Welcome file and struts
> 
> 
> That topic was discussed here
>   http://www.mail-archive.com/struts-user@jakarta.apache.org/msg34650.html
> 
> Darek
> 
> Friday, August 16, 2002, 12:30:00 PM, you wrote:
> MD> I don´t want get impatient ;-), but usually there is a lot more action
> here!
> MD> It´s just my luck that when I answer a question, everyone seems to be on
> MD> vacation :-) !
> 
> MD> Has anyone else experienced this problem?  Is there a workaround?
> 
> MD> Thanks,
> 
> MD> Michael
> 
> 
> MD> ----- Original Message -----
> MD> From: "Michael Delamere" <ho...@michael-delamere.de>
> MD> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> MD> Sent: Friday, August 16, 2002 10:32 AM
> MD> Subject: Welcome file and struts
> 
> 
> >> Hi folks!
> >>
> >> I have got a question concerning the welcome file in the web.xml.  I have
> >> tried the following:
> >>
> >>   <welcome-file-list>
> >>     <welcome-file>/index.do</welcome-file>
> >>   </welcome-file-list>
> >>
> >> Could it be that tomcat has problems with this because the file doesn´t
> >> physically exist?  The reason for assuming this is that index.vm
> (velocity
> >> template) seems to work!?
> >>
> >> Could someone please give me some guidelines on how to get tomcat to load
> MD> my
> >> index.do on startup.
> >>
> >> Any help would be really appreciated.
> >>
> >> Thanks,
> >>
> >> Michael
> 
> --
> Best regards,
>  Dariusz Wojtas                 mailto:dwojtas@myrealbox.com
> 
> 
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 
-- 

Regards

-------------------------------------------
 Cliff Rowley        |     cliff@onsea.net
 Software Engineer   |   www.doctype.co.uk
 +44 (0) 1206 514263 | www.cliffrowley.com
-------------------------------------------


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Re[2]: Welcome file and struts

Posted by Andrew Hill <an...@gridnode.com>.
Ooo.
The idea from Dennis Muhlestein seems better than my tactic.
What a neat idea. Think I might switch to doing it this way.

To quote his posting: "Anyway, I added index.do to the list of files for
apache to
automatically pull up and then just made a dummy file called index.do
tomcat gets the request and it works just fine."


-----Original Message-----
From: Dariusz Wojtas [mailto:dwojtas@myrealbox.com]
Sent: Friday, August 16, 2002 18:30
To: Struts Users Mailing List
Subject: Re[2]: Welcome file and struts


That topic was discussed here
  http://www.mail-archive.com/struts-user@jakarta.apache.org/msg34650.html

Darek

Friday, August 16, 2002, 12:30:00 PM, you wrote:
MD> I don´t want get impatient ;-), but usually there is a lot more action
here!
MD> It´s just my luck that when I answer a question, everyone seems to be on
MD> vacation :-) !

MD> Has anyone else experienced this problem?  Is there a workaround?

MD> Thanks,

MD> Michael


MD> ----- Original Message -----
MD> From: "Michael Delamere" <ho...@michael-delamere.de>
MD> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
MD> Sent: Friday, August 16, 2002 10:32 AM
MD> Subject: Welcome file and struts


>> Hi folks!
>>
>> I have got a question concerning the welcome file in the web.xml.  I have
>> tried the following:
>>
>>   <welcome-file-list>
>>     <welcome-file>/index.do</welcome-file>
>>   </welcome-file-list>
>>
>> Could it be that tomcat has problems with this because the file doesn´t
>> physically exist?  The reason for assuming this is that index.vm
(velocity
>> template) seems to work!?
>>
>> Could someone please give me some guidelines on how to get tomcat to load
MD> my
>> index.do on startup.
>>
>> Any help would be really appreciated.
>>
>> Thanks,
>>
>> Michael

--
Best regards,
 Dariusz Wojtas                 mailto:dwojtas@myrealbox.com


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>