I've noticed the same behavior in Tomcat as well. Try this: - Place your .war file in webapps directory - Start Tomcat and wait for the .war to be completely expanded - Restart Tomcat and then try to access the application
I'm not positive about the specifics, but I do know that Tomcat loads a default application context as it expands and deploys a war when a context.xml file is not provided in the war file. However, when you restart Tomcat and the application is already expanded (i.e. the war doesn't have to be deployed) it loads the application context as you would expect. -Steve --- Bogdan Paduraru <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to run a Struts application built with > Ant. Ant makes me the > war file, I copy it under application directory in > webapps of Tomcat > server. When I try to run something from my browser > it tells me the > resource I call is unavailable. When I deploy the > application unpacked > from the war file , it runs nicely, no problems. Can > you tell me what > should I do on Tomcat configuration to run war > correctly? > Another thing : I want to use an > application.properties file for my > Struts app in Tomcat, for example I have > <bean:message key="bla.foo"/> > and bla.foo I define in such file. How do I tell > Tomcat to use it? > > Thanx, > Bogdan > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]