I had to do the exact same thing for one of my apps. So I just did a
<logic:forward> to my starting action in a file called index.jsp. Then in
the welcome-file-list I put the index.jsp file. It's not clean, but it
works.

-----Original Message-----
From: K.C. Baltz [mailto:[EMAIL PROTECTED] 
Sent: June 30, 2003 12:14 PM
To: Struts Users Mailing List
Subject: Re: site root going straight to a .do

My understanding is that the webapp spec requires that files in the 
welcome-file-list be actual files, not servlets, because it has to test 
for their existence to decide which welcome file to use.  So, 
"/index.do"  won't work. 

K.C.

Affan Qureshi wrote:

>Have you tried configuring the <welcome-file-list> in web.xml. I guess you
>can do all this there.
>
>Affan
>
>"Simon Kelly" <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]
>  
>
>>Hi all,
>>
>>Sorry about the subject line, it's the best I can do in one sentance.
>>
>>What I'm trying to do, is set up the wecome file, so that instead of
>>    
>>
>having
>  
>
>>to go via a html or jsp page, I can go straight to an action class! Any
>>ideas?
>>
>>If someone types in htt://our.site.com/ourapp then it should go straight
>>    
>>
>to
>  
>
>>the welcome.do Action and not a html file.
>>
>>I'm using struts1.1 and stxx.
>>
>>Cheers
>>
>>Simon
>>
>>
>>"I have often wondered how it is that every man loves himself more than
>>    
>>
>all
>  
>
>>the rest of men, but yet sets less value on his own opinion of himself
>>    
>>
>than
>  
>
>>on the opinion of others." -- Georg Christoph Lichtenberg
>>
>>Institut fuer
>>Prozessdatenverarbeitung
>>und Elektronik,
>>Forschungszentrum Karlsruhe GmbH,
>>Postfach 3640,
>>D-76021 Karlsruhe,
>>Germany.
>>
>>Tel: (+49)/7247 82-4042
>>E-mail : [EMAIL PROTECTED]
>>    
>>
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>  
>


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


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

Reply via email to