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
At 09:13 AM 6/30/2003 -0700, you wrote:
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]
Mark T. McBride
Computer Scientist
Lawrence Livermore National Laboratory
http://www.llnl.gov
Office: (925) 423-1627
Fax: (925) 423-3140