Hi Simon We specify welcome file in web.xml file and not in struts-config.xml. Since the web server or app server doesnt hv any idea about struts config, putting a struts related action or file in web.xml will not help. What you can do is you can have a jsp as a welcome file which then redirects control to the action.
Hope this helps Shashank ----- Original Message ----- From: Simon Kelly To: Struts Users Mailing List Sent: Monday, June 30, 2003 6:16 PM Subject: site root going straight to a .do 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]