Re: issues with war file deployment

2003-06-03 Thread Jacob Kjome
Yep, unfortunately, this is the behavior that Tomcat has. If you explicitly define a for your app, Tomcat will not automatically explode your .war file to a directory structure. You will have to do this manually before start of the server. And, BTW, you should avoid getRealPath() at all cos

RE: issues with war file deployment

2003-06-03 Thread Shapira, Yoav
Howdy, >True to the reference my war file does not expand. But I am having a >problem when using > >servlet.getServletContext().getRealPath( "/" ) in one of my startup >servlets. > >This is returning null and so the app fails to load. > >Is there a way to solve this? Don't use ServletContext#get

issues with war file deployment

2003-06-03 Thread Swaminathan Gurumoorthy
I am using Tomcat 4.1.18 to run my Struts 1.1 app. I am using a configuartion file appname.xml in the "webapps" folder to deploy the application along with a appname.war file. Now the "Server Configuration Reference" of Tomcat has thie literature for Automatic application deployment. " <---